Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Interface ¶
type Interface interface { GetAvailableInstances() ([]Instance, error) UpdateInstance(Instance) error Subscribe(callback func(services []Instance, err error)) error Register(i Instance) (bool, error) UnRegister(i Instance) (bool, error) }
func NewNacosDiscover ¶
func NewNacosDiscover(cfg NacosConfig) (Interface, error)
Click to show internal directories.
Click to hide internal directories.