Versions in this module Expand all Collapse all v0 v0.1.1 Aug 30, 2017 v0.1.0 Aug 20, 2017 Changes in this version + var ErrNoMatch = errors.New("no keys match") + var ErrNotExist = errors.New("key does not exist") + type KVPair struct + Key string + Value string + type KVPairs []KVPair + func (ks KVPairs) Len() int + func (ks KVPairs) Less(i, j int) bool + func (ks KVPairs) Swap(i, j int) + type KeyError struct + Err error + Key string + func (e *KeyError) Error() string + type Store struct + FuncMap map[string]interface{} + func New() Store + func (s Store) Del(key string) + func (s Store) Exists(key string) bool + func (s Store) Get(key string) (KVPair, error) + func (s Store) GetAll(pattern string) (KVPairs, error) + func (s Store) GetAllValues(pattern string) ([]string, error) + func (s Store) GetValue(key string, v ...string) (string, error) + func (s Store) List(filePath string) []string + func (s Store) ListDir(filePath string) []string + func (s Store) Purge() + func (s Store) Set(key string, value string)