etcd

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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