mirror of
https://github.com/sot-tech/mochi.git
synced 2026-06-08 06:01:55 -07:00
update dependencies and fix lint warnings
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
// Package list implements container with pre-defined
|
||||
// list of torrent hashes from config file
|
||||
//
|
||||
//nolint:revive
|
||||
package list
|
||||
|
||||
import (
|
||||
|
||||
@@ -33,10 +33,12 @@ const defaultPeriod = time.Minute
|
||||
// Extends list.Config because uses the same storage and Approved function.
|
||||
type Config struct {
|
||||
list.Config
|
||||
Endpoint string
|
||||
Region string
|
||||
KeyID string `cfg:"key_id"`
|
||||
KeySecret string `cfg:"key_secret"`
|
||||
Endpoint string
|
||||
Region string
|
||||
KeyID string `cfg:"key_id"`
|
||||
//nolint:gosec
|
||||
KeySecret string `cfg:"key_secret"`
|
||||
//nolint:gosec
|
||||
SessionToken string `cfg:"session_token"`
|
||||
Bucket string
|
||||
Prefix string
|
||||
|
||||
Reference in New Issue
Block a user