registry

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewRegistry)

Functions

func NewRegistry

func NewRegistry(reg *conf.Registry) registry.Registrar

Types

type ConsulRegistry added in v0.3.2

type ConsulRegistry struct {
	*consul.Registry
	// contains filtered or unexported fields
}

func (*ConsulRegistry) Client added in v0.3.2

func (c *ConsulRegistry) Client() *api.Client

type EtcdRegistry added in v0.3.2

type EtcdRegistry struct {
	*etcd.Registry
	// contains filtered or unexported fields
}

func (*EtcdRegistry) Client added in v0.3.2

func (e *EtcdRegistry) Client() *clientv3.Client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL