Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var VERSION string = "N/A"
VERSION will be set on build time
Functions ¶
Types ¶
type Config ¶
type Config struct { Develop bool `json:"develop"` Title string `json:"title"` Proto string `json:"proto"` RootDir string `json:"rootDir"` ListenAddr string `json:"listenAddr"` NfqueueNum int `json:"nfqueueNum"` Database struct { Name string `json:"name"` Password string `json:"password"` User string `json:"user"` Addr string `json:"addr"` } `json:"database"` ApiPath string `json:"apiPath"` GeoIPDatabase string `json:"geoIPDatabase"` PatternDirectory string `json:"patternDirectory"` Session struct { Secret string `json:"secret"` } `json:"session"` Sentry struct { DSN string `json:"dsn"` } `json:"sentry"` Confd map[string]interface{} `json:"confd"` }
var App Config
App represents the current application configuration
Click to show internal directories.
Click to hide internal directories.