apollo

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RemoteConfig

func RemoteConfig(configPath string) *abstractions.Configuration

Types

type Option

type Option struct {
	AppID     string `mapstructure:"appid"`
	Endpoint  string `mapstructure:"endpoint"`
	Namespace string `mapstructure:"namespace"`
}

type ViperRemoteProvider

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

func NewRemoteProvider

func NewRemoteProvider(configType string) *ViperRemoteProvider

func (*ViperRemoteProvider) GetProvider

func (provider *ViperRemoteProvider) GetProvider(runtime_viper *viper.Viper) *viper.Viper

Jump to

Keyboard shortcuts

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