Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Build ¶
Build register resolver into default etcd.
Types ¶
type EtcdBuilder ¶
type EtcdBuilder struct {
// contains filtered or unexported fields
}
EtcdBuilder is a etcd clientv3 EtcdBuilder
func (*EtcdBuilder) Build ¶
Build disovery resovler builder.
func (*EtcdBuilder) Close ¶
func (e *EtcdBuilder) Close() error
Close stop all running process including etcdfetch and register
func (*EtcdBuilder) Register ¶
func (e *EtcdBuilder) Register(ctx context.Context, ins *naming.Instance) (cancelFunc context.CancelFunc, err error)
Register is register instance
Click to show internal directories.
Click to hide internal directories.