Documentation ¶ Index ¶ type Service func New(logger *zap.Logger, consul *api.Client, waitTime time.Duration) (*Service, error) func (s *Service) WatchKeyChanges(ctx context.Context, key string) <-chan *api.KVPair 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 Source Files ¶ View all Source files service.go Click to show internal directories. Click to hide internal directories.