Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetChangeHandle ¶
type NetChangeHandle func()
type Registry ¶
type Registry struct { ServerUrl string *consul.ConsulClient OnServerOnline NetChangeHandle OnServerOffline NetChangeHandle // contains filtered or unexported fields }
func NewRegistry ¶
func (*Registry) CreateLocker ¶
CreateLocker create locker to registry with key/value
Click to show internal directories.
Click to hide internal directories.