config

package
v0.0.0-...-0ae60ed Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Values config
)

Functions

This section is empty.

Types

type APIKey

type APIKey struct {
	Name  string `yaml:"name"`
	Value string `yaml:"value"`
}

func (*APIKey) FromString

func (a *APIKey) FromString(raw string) (*APIKey, error)

func (*APIKey) String

func (a *APIKey) String() string

type APIKeys

type APIKeys []APIKey

func (*APIKeys) For

func (a *APIKeys) For(name string) *string

func (*APIKeys) FromStrings

func (a *APIKeys) FromStrings(input []string) (*APIKeys, error)

func (*APIKeys) MustFromStrings

func (a *APIKeys) MustFromStrings(input []string) *APIKeys

func (*APIKeys) Names

func (a *APIKeys) Names() []string

func (*APIKeys) String

func (a *APIKeys) String() string

Jump to

Keyboard shortcuts

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