conf

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Value

func Value(ctx context.Context, key string) *configs.Value

func Watch

func Watch(ctx context.Context, key string, fns ...configs.WatchFn) *configs.Value

Types

type Storage

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

func New

func New() *Storage

func (*Storage) Init

func (s *Storage) Init(ctx context.Context) error

func (*Storage) KeysReader

func (s *Storage) KeysReader(r io.Reader) *Storage

func (*Storage) YamlConfigs

func (s *Storage) YamlConfigs(r io.Reader) *Storage

Directories

Path Synopsis
env

Jump to

Keyboard shortcuts

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