conf

package
v0.0.0-...-be62643 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ServerConfig       ServerConf
	HttpConfig         HttpConf
	GrpcConfig         GrpcConf
	RouterServerConfig RouterServerConf
)

Functions

func InitConf

func InitConf(confPath string)

Types

type GrpcConf

type GrpcConf struct {
	Host string
	Port int
}

type HttpConf

type HttpConf struct {
	Host string
	Port int
}

type RouterServerConf

type RouterServerConf struct {
	Host string
	Port int
}

type ServerConf

type ServerConf struct {
	Name              string
	LoadBalancePolicy string
	IsCheck           bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳