source

package
v4.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source interface {
	Read() (map[string][]byte, error)
	Write(data []byte, filename string) error
}

Source is the source from which config is loaded.

func New

func New(path string) (Source, error)

New returns a new source.

type Watcher

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

Watcher watches a source for changes.

Jump to

Keyboard shortcuts

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