util

package
v0.0.0-...-2c4a5bd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleDefaultValues

func HandleDefaultValues(config ConfigType)

func HandleEnvironmentVars

func HandleEnvironmentVars(config ConfigType)

preparations for docker

func LoadConfig

func LoadConfig(location string) error

Types

type ConfigStruct

type ConfigStruct struct {
	MongoUrl                  string
	MongoTable                string
	ProcessMetadataCollection string
	IotRepoUrl                string
	EventManagerUrl           string
	ConnectionLogUrl          string
	ServerPort                string
	LogLevel                  string
	ServingServiceUrl         string

	JwtPubRsa string
	ForceUser string
	ForceAuth string

	PermissionsUrl string

	IotTaskTopic string

	AmqpUrl              string
	AmqpReconnectTimeout int64
	AmqpConsumerName     string
	AmqpDeploymentTopic  string
}

type ConfigType

type ConfigType *ConfigStruct
var Config ConfigType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL