config

package
v1.1.3-2x12 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigValue added in v1.0.17

type ConfigValue []byte

func (*ConfigValue) Bytes added in v1.0.17

func (c *ConfigValue) Bytes() []byte

func (*ConfigValue) String added in v1.0.17

func (c *ConfigValue) String() string

type IConfig

type IConfig interface {
	// env specific config
	Get(string) ([]byte, error)

	// env specific config
	GetConfig(string) (ConfigValue, error)

	// env specifig config
	GetGlobal(string) ([]byte, error)
}

Jump to

Keyboard shortcuts

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