Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version string
Version defines the LoRa Geo Server version.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { General struct { LogLevel int `mapstructure:"log_level"` } GeoServer struct { API struct { Bind string CACert string `mapstructure:"ca_cert"` TLSCert string `mapstructure:"tls_cert"` TLSKey string `mapstructure:"tls_key"` } `mapstructure:"api"` Backend struct { Name string `mapstructure:"name"` Collos collos.Config `mapstructure:"collos"` } `mapstructure:"backend"` } `mapstructure:"geo_server"` }
Config defines the configuration structure.
var C Config
C holds the global configufation.
Click to show internal directories.
Click to hide internal directories.