Documentation ¶
Index ¶
- Variables
- func EtcdRawGetValue(key string) (string, error)
- func GetKV(key string) (string, error)
- func HostIPAddress(hostname string) string
- func HostName() string
- func PutValue(key, value string)
- func RegisterServer()
- func ScanCurrentUpstream() string
- func StartConsul()
- func StartEtcd()
- type EtcdResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// MongodBKey master mongodb key
MongodBKey = "mongodb_cluster1"
)
Functions ¶
func EtcdRawGetValue ¶
EtcdRawGetValue get raw or unmarshalled value from etcd cluster
func ScanCurrentUpstream ¶
func ScanCurrentUpstream() string
ScanCurrentUpstream scan current registered upstream if self is registered
Types ¶
Click to show internal directories.
Click to hide internal directories.