Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndPoints ¶ added in v1.0.4
type EndPoints struct { Servers server.Addresses `json:"servers"` //consul,etcd,dubbo, local注册 Type string `json:"type"` }
func ReadEndPoints ¶ added in v1.0.4
ReadEndPoints filename 相对文件名
type Service ¶ added in v1.0.4
type Service struct { // The node name that the endpoint belongs to. Node Node `json:"node"` // The network address at which the service can be reached. Server server.Address `json:"server"` // The list of tags associated with the service. Tags []string `json:"tags"` // The set of metadata associated with the node on which the service is // running. Meta map[string]string `json:"meta"` }
Click to show internal directories.
Click to hide internal directories.