Documentation ¶
Overview ¶
Contains configuration loading behavior and defaults for gost.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBackendType ¶
func GetBackendType() string
func GetEmailTTL ¶
func GetListenParams ¶
Gets the address the server should listen on, for example "127.0.0.1".
func GetMatcherTTL ¶
func LoadConfigFromFile ¶
func LoadConfigFromFile() error
Loads configuration from an auto-located file. This operation is atomic and isolated; if reading from a file fails the existing configuration is not touched and an error is thrown. If reading is successful, configuration is stored globally and nil is returned.
func SetListenParams ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.