Documentation ¶
Index ¶
Constants ¶
Variables ¶
View Source
var (
ErrDiscoveryDown = errors.New("discovery down")
)
Functions ¶
Types ¶
type IAppAgent ¶ added in v0.12.5
type IAppAgent interface { Agent() IApp // contains filtered or unexported methods }
type IAppContainer ¶
type IAppContainer interface { INodes Set(id string, info []NodeInfo) (app IAppAgent) Reset(info map[string][]NodeInfo) GetApp(id string) (IAppAgent, bool) Keys() []string }
func NewAppContainer ¶ added in v0.12.5
func NewAppContainer() IAppContainer
type IDiscovery ¶
IDiscovery 服务发现接口
type IHealthChecker ¶
IHealthChecker 健康检查接口
type Node ¶ added in v0.12.5
type Node struct { INode // contains filtered or unexported fields }
func (*Node) GetAttrByName ¶ added in v0.12.5
Click to show internal directories.
Click to hide internal directories.