Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct { Address string `id:"address" short:"a" default:"0.0.0.0:14914" desc:"Listening address"` Config string `id:"config" short:"c" default:"$HOME/.config/sweetlisa" desc:"SweetLisa configuration directory"` CNProxy string `id:"cn-proxy" desc:"The https proxy for sweetlisa to connect to the servers and relays in China"` BotToken string `id:"bot-token"` Host string `id:"host" default:"example.org"` NameserverName string `id:"nameserver-name" desc:"nameserver name of given token"` NameserverToken string `id:"nameserver-token" desc:"nameserver token to set DNS for BitterJohn's TLS challenge"` LogLevel string `id:"log-level" default:"info" desc:"Optional values: trace, debug, info, warn or error"` LogFile string `id:"log-file" desc:"The path of log file"` LogMaxDays int64 `id:"log-max-days" default:"3" desc:"Maximum number of days to keep log files"` LogDisableColor bool `id:"log-disable-color"` LogDisableTimestamp bool `id:"log-disable-timestamp"` }
Click to show internal directories.
Click to hide internal directories.