viper_remote

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 License: BSD-2-Clause Imports: 9 Imported by: 0

README

viper-remote

viper remote package

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("provider not found")
View Source
var Provider = &provider{registered: make(map[string]RemoteConfigFactory)}

Functions

This section is empty.

Types

type RemoteConfigFactory

type RemoteConfigFactory interface {
	Get(rp viper.RemoteProvider) (io.Reader, error)
	Watch(rp viper.RemoteProvider) (io.Reader, error)
	WatchChannel(rp viper.RemoteProvider) (<-chan *viper.RemoteResponse, chan bool)
}

Jump to

Keyboard shortcuts

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