remote

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2019 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Decoder
	viper.RemoteProvider

	Username string
	Password string
}

func (*Config) Get

func (c *Config) Get(rp viper.RemoteProvider) (io.Reader, error)

func (*Config) Watch

func (c *Config) Watch(rp viper.RemoteProvider) (io.Reader, error)

func (*Config) WatchChannel

func (c *Config) WatchChannel(rp viper.RemoteProvider) (<-chan *viper.RemoteResponse, chan bool)

type Decoder

type Decoder interface {
	Decode(io.Reader) (interface{}, error)
}

Jump to

Keyboard shortcuts

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