Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LoggerLever string `long:"logger-level" env:"LOGGER_LEVEL" description:"Logger level" default:"info"` HeuristicsPath string `long:"heuristics-path" env:"HEURISTICS_PATH" description:"Path to heuristics file" default:"heuristics.toml"` APIToken string `long:"api-token:" env:"API_TOKEN" description:"VK API token" required:"true"` CallbackConfirmationCode string `` /* 131-byte string literal not displayed */ HTTPAddr string `long:"http-addr" env:"HTTP_ADDR" description:"HTTP server address" default:":8080"` }
Config is a banhammer config.
Click to show internal directories.
Click to hide internal directories.