config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpJsonOpt

type HttpJsonOpt uint32
const (
	HttpJsonOptPeriodic HttpJsonOpt = 1 << iota
)

type HttpJsonProv

type HttpJsonProv struct {
	// contains filtered or unexported fields
}

func RegisterHttpJsonProv

func RegisterHttpJsonProv(cfgPath string, fetchUrl string,
	container interface{}, opts HttpJsonOpt) (*HttpJsonProv, error)

func (*HttpJsonProv) DependsOn

func (hjp *HttpJsonProv) DependsOn() []string

func (*HttpJsonProv) GetName

func (hjp *HttpJsonProv) GetName() string

func (*HttpJsonProv) GetOptions

func (hjp *HttpJsonProv) GetOptions() registry.ProviderOptions

func (*HttpJsonProv) GetValue

func (hjp *HttpJsonProv) GetValue(key string) (interface{}, bool)

func (*HttpJsonProv) GetWeight

func (hjp *HttpJsonProv) GetWeight() uint32

func (*HttpJsonProv) Resolve

func (hjp *HttpJsonProv) Resolve() error

func (*HttpJsonProv) Setup

func (hjp *HttpJsonProv) Setup() error

Jump to

Keyboard shortcuts

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