configuration

package
v0.0.0-...-f28986b Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleEnvironmentVars

func HandleEnvironmentVars(config Config)

preparations for docker

Types

type Config

type Config = *ConfigStruct

func Load

func Load(location string) (config Config, err error)

type ConfigStruct

type ConfigStruct struct {
	ApiPort      string `json:"api_port"`
	InfluxDbUrl  string `json:"influx_db_url"`
	InfluxDbUser string `json:"influx_db_user"`
	InfluxDbPw   string `json:"influx_db_pw"`
	Debug        bool   `json:"debug"`
}

Jump to

Keyboard shortcuts

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