config

package
v0.0.0-...-1eded09 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Keys = ConfigMap{
	MysqlGaeaDBHost:    os.Getenv("TEST_MYSQL_GAEA_DB_HOST"),
	MysqlTradeDBHost:   os.Getenv("TEST_MYSQL_TRADE_DB_HOST"),
	MysqlWalletDBHost:  os.Getenv("TEST_MYSQL_WALLET_DB_HOST"),
	MysqlRespackDBHost: os.Getenv("TEST_MYSQL_RESPACK_DB_HOST"),
}

Functions

func Init

func Init(name string) error

Types

type Config

type Config struct {
	Name string
}

type ConfigMap

type ConfigMap struct {
	MysqlGaeaDBHost    string
	MysqlTradeDBHost   string
	MysqlWalletDBHost  string
	MysqlRespackDBHost string
}

Jump to

Keyboard shortcuts

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