config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Db         string
	DbHost     string
	DbPort     string
	DbUser     string
	DbPassWord string
	DbName     string
	Charset    string

	RabbitMQ         string
	RabbitMQUser     string
	RabbitMQPassWord string
	RabbitMQHost     string
	RabbitMQPort     string

	EtcdHost string
	EtcdPort string

	UserServiceAddress string
	TaskServiceAddress string

	RedisHost     string
	RedisPort     string
	RedisUsername string
	RedisPassword string
	RedisDbName   int
)

Functions

func Init

func Init()

func LoadEtcd

func LoadEtcd(file *ini.File)

func LoadMysqlData

func LoadMysqlData(file *ini.File)

func LoadRabbitMQ

func LoadRabbitMQ(file *ini.File)

func LoadRedisData

func LoadRedisData(file *ini.File)

func LoadServer

func LoadServer(file *ini.File)

Types

This section is empty.

Jump to

Keyboard shortcuts

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