config

package
v0.0.0-...-b0a4e96 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	Debug      bool
	ServerPort string

	MysqlUser   string
	MysqlPasswd string
	MysqlAddr   string
	MysqlDBName string

	MaxIdleConns int
	MaxOpenConns int

	MongodbHost string
	MongodbName string

	RedisIp       string
	RedisPort     string
	RedisPassword string
	RedisDb       int

	EsServers   string
	EsIndexName string

	AppLogDevice  string
	AccessLogPath string

	GrpcClient  string
	GrpcLogPath string

	MqServers  string
	MQName     string
	MQPassword string

	AppSecret string
}

func GetEnv

func GetEnv() *Env

Jump to

Keyboard shortcuts

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