# README
rd
Register and Discovery, will support etcd, consul, etc.
feature
- Easy configuration, service registration and discovery.
- Support component error message and process information subscription.
- Configure your service discovery content resolution handler freely.
- Access or automatically generate component clients based on your configuration.
support plugins
plugin | register | discover | state | note |
---|---|---|---|---|
etcd | ✅ | ✅ | Pre | |
consul |
usage
go get github.com/v8fg/rd
# Functions
DiscoverClose close all the running discovers.
DiscoverCloseWithParam close all the running discovers with the specified name or the combine: scheme and service.
DiscoverEtcd etcd discover with some configurations.
DiscoverInfo return the basic info about discover: key and discover addr.
DiscoverRun the registers have been registered.
DiscoverRunWithParam run discover have been registered with the specified name or the combine: scheme and service.
RegisterClose close all the running registers.
RegisterCloseWithParam close all the running registers with the specified key or name.
RegisterEtcd etcd register with some configurations.
RegisterInfo return the basic info about register: key and register addr.
RegisterRun the registers have been registered.
RegisterRunWithParam run the register have been registered and with the specified name or key.
RegisterUpdateVal update the register val, shall not call, if no necessary.