gobprovider

package
v0.0.0-...-ffea4ed Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GobProvider

type GobProvider struct {
	Filename string
}

GobProvider provides a map with all configuration settings set in a go binary file The prefix will be removed from the key name. Returns a map or error.

func (GobProvider) Provide

func (g GobProvider) Provide() (map[string]string, error)

Provide implements the Provider interface

func (GobProvider) Save

func (g GobProvider) Save(cfg *Config) error

Save will store the provided configuration

Jump to

Keyboard shortcuts

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