Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdRegistry ¶
type EtcdRegistry struct {
// contains filtered or unexported fields
}
func NewEtcdRegistry ¶
func NewEtcdRegistry(ops ...EtcdRegistryOp) *EtcdRegistry
type EtcdRegistryOp ¶
type EtcdRegistryOp func(*EtcdRegistry)
func WithEtcdClient ¶
func WithEtcdClient(cli *clientv3.Client) EtcdRegistryOp
func WithKeyTTL ¶ added in v1.4.0
func WithKeyTTL(ttl int64) EtcdRegistryOp
func WithWorkerTTL ¶ added in v1.4.0
func WithWorkerTTL(ttl int64) EtcdRegistryOp
Click to show internal directories.
Click to hide internal directories.