Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
KafkaBootstrap string
KafkaTopicDevices string
KafkaTopicDeviceTypes string
KafkaTopicTableUpdates string
KafkaGroupId string
PostgresHost string `json:"PostgresHost"`
PostgresPort int `json:"PostgresPort"`
PostgresUser string `json:"PostgresUser" config:"secret"`
PostgresPw string `json:"PostgresPw" config:"secret"`
PostgresDb string `json:"PostgresDb"`
PostgresTableworkerSchema string `json:"PostgresTableworkerSchema"`
UseDistributedHypertables bool
HypertableReplicationFactor int `json:"HypertableReplicationFactor"`
DeviceManagerUrl string `json:"DeviceManagerUrl"`
DevNotificationsUrl string `json:"DevNotificationsUrl"`
ApiDocsProviderBaseUrl string `json:"ApiDocsProviderBaseUrl"`
SyncOnStartup bool `json:"SyncOnStartup"`
Debug bool
}
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.