remote

package
v0.0.0-...-6cca58f Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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