Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { MongoUrl string `json:"mongo_url"` MongoDatabaseName string `json:"mongo_database_name"` MongoIncidentCollectionName string `json:"mongo_incident_collection_name"` ApiPort string `json:"api_port"` ApiLog bool `json:"api_log"` Debug bool `json:"debug"` }
func LoadConfig ¶
loads config from json in location and used environment variables (e.g ZookeeperUrl --> ZOOKEEPER_URL)
Click to show internal directories.
Click to hide internal directories.