Documentation
¶
Overview ¶
package config implements configuration data structures and parsing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnmarshal = errors.New("config: unmarshaling failed")
ErrUnmarshal is returned whenever config unmarshalling
Functions ¶
This section is empty.
Types ¶
type ClusterMemberList ¶
ClusterMemberList is used for deserializing the responses from the etcd cluster members.
type Node ¶
type Node struct {
Name string `json:"name"`
Host string `json:"host"`
RPCPort uint64 `json:"rpcPort"`
ClientPort uint64 `json:"clientPort"`
ReseedPort uint64 `json:"httpPort"`
Type string `json:"type"`
SlaveID string `json:"slaveID"`
}
Node represents an etcd node's configuration.
Click to show internal directories.
Click to hide internal directories.