Documentation ¶
Index ¶
Constants ¶
View Source
const ( DevelopmentMode = "development-mode" Port = "port" LogLevel = "log-level" ProtectedRules = "protected-rules" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DevelopmentMode bool `json:"development-mode"` Port string `json:"port"` LogLevel string `json:"log-level"` ProtectedRules []string `json:"protected-rules"` }
func SetupConfig ¶
func (*Config) IsProtectedRule ¶
Click to show internal directories.
Click to hide internal directories.