etcd

package
v0.0.0-...-19835a7 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	// contains filtered or unexported fields
}

func NewAdapter

func NewAdapter() *Adapter

func (Adapter) Get

func (i Adapter) Get(ctx context.Context, id string) (service.Service, error)

func (Adapter) GetEndpoints

func (i Adapter) GetEndpoints(ctx context.Context, id string) ([]service.Endpoint, error)

func (Adapter) Save

func (i Adapter) Save(ctx context.Context, s service.Service) (string, error)

Jump to

Keyboard shortcuts

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