Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfJSON ¶
type ConfJSON struct { Core SectionCore `json:"core"` Log SectionLog `json:"log"` }
ConfJSON is config struct
type SectionCore ¶
type SectionCore struct { Debug bool `json:"debug"` Address string `json:"address"` Port int `json:"port"` }
SectionCore is sub section of config
type SectionLog ¶
type SectionLog struct { Format string `json:"format"` AccessLog string `json:"access_log"` AccessLevel string `json:"access_level"` ErrorLog string `json:"error_log"` ErrorLevel string `json:"error_level"` SentryDSN string `json:"sentry_dsn"` }
SectionLog is sub section of config.
Click to show internal directories.
Click to hide internal directories.