Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Id = func() string { return uuid.NewString() }
View Source
var LogEnvConfig = true
View Source
var TimeNow = time.Now
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Debug bool `json:"debug"` KafkaUrl string `json:"kafka_url"` KafkaConsumerGroup string `json:"kafka_consumer_group"` ProcessDeploymentDoneTopic string `json:"process_deployment_done_topic"` DeviceGroupTopic string `json:"device_group_topic"` AuthExpirationTimeBuffer float64 `json:"auth_expiration_time_buffer"` AuthEndpoint string `json:"auth_endpoint"` AuthClientId string `json:"auth_client_id" config:"secret"` AuthClientSecret string `json:"auth_client_secret" config:"secret"` MongoUrl string `json:"mongo_url"` MqttPw string `json:"mqtt_pw" config:"secret"` MqttUser string `json:"mqtt_user" config:"secret"` MqttClientId string `json:"mqtt_client_id" config:"secret"` MqttBroker string `json:"mqtt_broker"` MqttCleanSession bool `json:"mqtt_clean_session"` MqttGroupId string `json:"mqtt_group_id"` //optional ApiPort string `json:"api_port"` MongoTable string `json:"mongo_table"` MongoProcessDefinitionCollection string `json:"mongo_process_definition_collection"` MongoDeploymentCollection string `json:"mongo_deployment_collection"` MongoDeploymentMetadataCollection string `json:"mongo_deployment_metadata_collection"` MongoProcessHistoryCollection string `json:"mongo_process_history_collection"` MongoIncidentCollection string `json:"mongo_incident_collection"` MongoProcessInstanceCollection string `json:"mongo_process_instance_collection"` MongoLastNetworkContactCollection string `json:"mongo_last_network_contact_collection"` PermissionsUrl string `json:"permissions_url"` DeviceRepoUrl string `json:"device_repo_url"` AnalyticsEnvelopePrefix string `json:"analytics_envelope_prefix"` CleanupMaxAge string `json:"cleanup_max_age"` CleanupInterval string `json:"cleanup_interval"` }
Click to show internal directories.
Click to hide internal directories.