config

package
v0.0.0-...-6d8d6c7 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigStorer

type ConfigStorer interface {
	Get(key string) (string, error)

	Put(key string, value string) (string, string, error)

	Delete(key string) (string, error)
}

func Store

func Store() ConfigStorer

type DbConfigStore

type DbConfigStore struct {
}

func (*DbConfigStore) Delete

func (s *DbConfigStore) Delete(key string) (string, error)

func (*DbConfigStore) Get

func (s *DbConfigStore) Get(key string) (string, error)

func (*DbConfigStore) Put

func (s *DbConfigStore) Put(key string, value string) (string, string, error)

Jump to

Keyboard shortcuts

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