Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Name is the name by which this peer store is registered with Conf.
Name = "pg"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ConnectionString string `cfg:"connection_string"` PingQuery string `cfg:"ping_query"` Peer peerQueryConf Announce announceQueryConf Data dataQueryConf GCQuery string `cfg:"gc_query"` InfoHashCountQuery string `cfg:"info_hash_count_query"` }
Config holds the configuration of a redis PeerStorage.
func (Config) MarshalZerologObject ¶
MarshalZerologObject writes configuration fields into zerolog event
Click to show internal directories.
Click to hide internal directories.