config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

Store is a store for config info.

func NewStore

func NewStore(s map[string]string) *Store

NewStore creates a new Store.

func (*Store) Delete

func (s *Store) Delete(key string)

Delete deletes a frame from the cache.

func (*Store) Get

func (s *Store) Get(key string) (string, bool)

Get returns a config value from the store.

func (*Store) Set

func (s *Store) Set(key, val string) error

Set sets a config value in the store.

Jump to

Keyboard shortcuts

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