config

package
v0.0.0-...-e49a6ce Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	APIPort       string
	DBHost        string
	DBPort        string
	DBUser        string
	DBInsecure    bool
	CertPath      string
	DBName        string
	JWTSigningKey string
	LogLevel      string
	StatsdHost    string
	StatsdPort    string
	ServerHost    string
}

Config is a struct for configuring the API server

func Generate

func Generate() Config

Generate returns a new config from ENV, file, or flags

Jump to

Keyboard shortcuts

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