tomlprovider

package
v0.0.0-...-f1af43c Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

Types

type TomlConfigProvider

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

func (*TomlConfigProvider) Get

func (p *TomlConfigProvider) Get(key string) (interface{}, error)

func (*TomlConfigProvider) GetBool

func (p *TomlConfigProvider) GetBool(key string) (bool, error)

func (*TomlConfigProvider) GetBytes

func (p *TomlConfigProvider) GetBytes(key string) ([]byte, error)

func (*TomlConfigProvider) GetInt

func (p *TomlConfigProvider) GetInt(key string) (int, error)

func (*TomlConfigProvider) GetInt64

func (p *TomlConfigProvider) GetInt64(key string) (int64, error)

func (*TomlConfigProvider) GetLocalStore

func (p *TomlConfigProvider) GetLocalStore() string

func (*TomlConfigProvider) GetMany

func (p *TomlConfigProvider) GetMany(keys ...string) ([]interface{}, error)

func (*TomlConfigProvider) GetString

func (p *TomlConfigProvider) GetString(key string) (string, error)

func (*TomlConfigProvider) GetStringOrDefault

func (p *TomlConfigProvider) GetStringOrDefault(key, def string) string

func (*TomlConfigProvider) GetStrings

func (p *TomlConfigProvider) GetStrings(keys ...string) ([]string, error)

func (*TomlConfigProvider) HasKey

func (p *TomlConfigProvider) HasKey(key string) bool

func (*TomlConfigProvider) IsWriteable

func (p *TomlConfigProvider) IsWriteable() bool

func (*TomlConfigProvider) Set

func (p *TomlConfigProvider) Set(key string, value interface{}) error

func (*TomlConfigProvider) String

func (p *TomlConfigProvider) String() string

Jump to

Keyboard shortcuts

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