options

package
v0.0.0-...-b703a9f Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2019 License: MIT 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 {
	LogLevel        string
	Port            int
	HealthCheckPort int
	PrometheusPort  int
	SQLDB           SQLDBConfig
	CacheAddr       string
}

func ReadEnv

func ReadEnv() *Config

type SQLDBConfig

type SQLDBConfig struct {
	Host         string
	Port         int
	User         string
	Pass         string
	DBName       string
	MaxOpenConns int
}

Jump to

Keyboard shortcuts

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