package
Version:
v5.2.0-beta1+incompatible
Opens a new window with list of versions in this module.
Published: Feb 15, 2020
License: LGPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Discoverier blablabla
NewDiscoverier creates a new Discoverier
NewEtcd creates a new Discorvery which implemeted by etcd.
type Endpoint struct {
Ep string `json:"endpoint"`
IsOnline bool `json:"is_online"`
}
Endpoint holds endpoint and endpoint status(online or offline).
type Info struct {
Type string `json:"type"`
Servers []string `json:"servers"`
Key string `json:"key"`
Username string `json:"username"`
Password string `json:"password"`
}
Info holds service discovery center information.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.