config

package
v0.0.0-...-38655de Latest Latest
Warning

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

Go to latest
Published: May 24, 2019 License: GPL-3.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf interface {
	Get(name string) (bool, error)
	Set(name, value string) error
	List(filters map[string]string) ([]types.Config, error)
	End()
}

func New

func New(driver, options string) (Conf, error)

type Config

type Config struct {
	Storage driver.Storager
}

func (*Config) End

func (c *Config) End()

func (*Config) Get

func (c *Config) Get(name string) (bool, error)

func (*Config) List

func (c *Config) List(filters map[string]string) ([]types.Config, error)

func (*Config) Set

func (c *Config) Set(name, value string) error

Jump to

Keyboard shortcuts

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