Versions in this module Expand all Collapse all v1 v1.0.0 Feb 25, 2016 Changes in this version + var DefaultConfig = Config + type APIConfig struct + ListenAddr string + ListenLimit int + ReadTimeout Duration + RequestTimeout Duration + WriteTimeout Duration + type Config struct + func Decode(r io.Reader) (*Config, error) + func Open(path string) (*Config, error) + type Duration struct + func (d *Duration) MarshalJSON() ([]byte, error) + func (d *Duration) UnmarshalJSON(b []byte) error + type HTTPConfig struct + ListenAddr string + ListenLimit int + ReadTimeout Duration + RequestTimeout Duration + WriteTimeout Duration + type NetConfig struct + AllowIPSpoofing bool + DualStackedPeers bool + RealIPHeader string + RespectAF bool + type StatsConfig struct + BufferSize int + IncludeMem bool + MemUpdateInterval Duration + VerboseMem bool + type SubnetConfig struct + PreferredIPv4Subnet int + PreferredIPv6Subnet int + PreferredSubnet bool + type TrackerConfig struct + Announce Duration + CreateOnAnnounce bool + JWKSetURI string + JWKSetUpdateInterval Duration + JWTAudience string + MinAnnounce Duration + NumWantFallback int + PurgeInactiveTorrents bool + ReapInterval Duration + ReapRatio float64 + TorrentMapShards int + type UDPConfig struct + ListenAddr string + ReadBufferSize int + type WhitelistConfig struct + ClientWhitelist []string + ClientWhitelistEnabled bool