config

package
v0.0.0-...-3e16b6b Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

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

func NewAppConfig

func NewAppConfig() *AppConfig

func (*AppConfig) Value

func (cfg *AppConfig) Value(conf interface{}) error

type FooServiceConfiguration

type FooServiceConfiguration struct {
	Host      string
	APIKey    string
	TimeoutMs int
	UseBeta   bool
}

FooServiceConfiguration ...

func NewFooServiceConfiguration

func NewFooServiceConfiguration(ac *AppConfig) (FooServiceConfiguration, error)

NewFooServiceConfiguration ...

Jump to

Keyboard shortcuts

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