keys

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func New

func New(logger *zap.Logger, consul *api.Client, waitTime time.Duration) (*Service, error)

func (*Service) WatchKeyChanges

func (s *Service) WatchKeyChanges(ctx context.Context, key string) <-chan *api.KVPair

Jump to

Keyboard shortcuts

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