config

package
v1.0.0-rc8 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2025 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvBase64

func GetEnvBase64(key string) []byte

func GetEnvBool

func GetEnvBool(key string) bool

func GetEnvInt

func GetEnvInt(key string) int

func GetEnvStr

func GetEnvStr(key string) string

Types

type Config

type Config interface {
	GetService() string
	Get(key string) string
	GetInt(key string) int
	GetBase64(key string) []byte
	Set(key, value string) error
	SetEnvMap(envMap map[string]string)
}

func New

func New(state state.State, service string) Config

Jump to

Keyboard shortcuts

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