Documentation ¶ Index ¶ func NewResolver() *etcdResolver type Option func WithService(service string) Option func WithURL(url string) Option type Options type Service func FindService(cli *clientv3.Client, name string) (*Service, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewResolver ¶ func NewResolver() *etcdResolver Types ¶ type Option ¶ type Option func(o *Options) func WithService ¶ func WithService(service string) Option func WithURL ¶ func WithURL(url string) Option type Options ¶ type Options struct { Id string Url string Service string } type Service ¶ type Service struct { // contains filtered or unexported fields } func FindService ¶ func FindService(cli *clientv3.Client, name string) (*Service, error) Source Files ¶ View all Source files options.go resolver.go services.go Click to show internal directories. Click to hide internal directories.