Documentation
¶
Index ¶
- func NewUsers() *userDB
- type Config
- func (c *Config) GetAllowIPv6() bool
- func (c *Config) GetDefaultSocks() (url, user, pass *string)
- func (c *Config) GetHost() *string
- func (c *Config) GetIgnoreTimestamp() bool
- func (c *Config) GetListenUrl() []string
- func (c *Config) GetStatsSock() *string
- func (c *Config) GetUser(user string) (u User, err error)
- func (c *Config) GetUserSecret(user string) (string, error)
- func (c *Config) IterateUsers() func(func(*User) bool)
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { AdTag *string // contains filtered or unexported fields }
func DefaultConfig ¶
func DefaultConfig() *Config
func ReadConfig ¶
func (*Config) GetAllowIPv6 ¶
func (*Config) GetDefaultSocks ¶
func (*Config) GetIgnoreTimestamp ¶ added in v0.9.3
func (*Config) GetListenUrl ¶
func (*Config) GetStatsSock ¶ added in v0.9.0
func (*Config) IterateUsers ¶
Click to show internal directories.
Click to hide internal directories.