source

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrWatcherStopped = errors.New("watcher stopped")

Functions

This section is empty.

Types

type Source

type Source interface {
	Read() ([]byte, error)
	Watch() (Watcher, error)
	Name() string
}

func New

func New(url, appName, clusterName, namespaceName string) Source

type Watcher

type Watcher interface {
	Next() ([]byte, error)
	Stop() error
}

Jump to

Keyboard shortcuts

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