bootstrap

package
v0.0.0-...-681e4f9 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HttpConfig         HttpConf
	DiscoverConfig     DiscoverConf
	ConfigServerConfig ConfigServerConf
	RpcConfig          RpcConf
)

Functions

This section is empty.

Types

type ConfigServerConf

type ConfigServerConf struct {
	Id      string
	Profile string
	Label   string
}

配置中心

type DiscoverConf

type DiscoverConf struct {
	Host        string
	Port        string
	ServiceName string
	Weight      int
	InstanceId  string
}

服务发现与注册配置

type HttpConf

type HttpConf struct {
	Host string
	Port string
}

Http配置

type RpcConf

type RpcConf struct {
	Port string
}

RPC配置

Jump to

Keyboard shortcuts

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