internal

package
v0.0.0-...-2158936 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvID

func EnvID() string

EnvID ...

func IsConfigSet

func IsConfigSet(key string) bool

IsConfigSet ...

func LoadConfig

func LoadConfig(ctx context.Context) error

LoadConfig ...

func LogLevel

func LogLevel() string

LogLevel ...

func ServiceName

func ServiceName() string

ServiceName ...

func Values

func Values() map[string]any

Values ...

Types

type Value

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

Value ...

func ConfigValue

func ConfigValue(key string) Value

ConfigValue ...

func (Value) Bool

func (v Value) Bool() bool

Bool ...

func (Value) Duration

func (v Value) Duration() time.Duration

Duration ...

func (Value) Float64

func (v Value) Float64() float64

Float64 ...

func (Value) Int

func (v Value) Int() int

Int ...

func (Value) Int32

func (v Value) Int32() int32

Int32 ...

func (Value) Int64

func (v Value) Int64() int64

Int64 ...

func (Value) IntSlice

func (v Value) IntSlice() []int

IntSlice ...

func (Value) String

func (v Value) String() string

String ...

func (Value) StringSlice

func (v Value) StringSlice() []string

StringSlice ...

func (Value) Uint32

func (v Value) Uint32() uint32

Uint32 ...

func (Value) Uint64

func (v Value) Uint64() uint64

Uint64 ...

Jump to

Keyboard shortcuts

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