backend

package
v0.0.0-...-b131691 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2016 License: GPL-3.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 ConfigBackend

type ConfigBackend interface {
	Exists(string) (bool, error)
	GetType(string) (int, error)
	DeleteKey(string) error
	GetHash(string) (map[string]string, error)
	SetHash(string, map[string]string) error
	GetHashField(string, string) (string, error)
	SetHashField(string, string, string) error
	HashFieldExists(string, string) (bool, error)
	GetList(string) ([]string, error)
	SetList(string, []string) error
	GetListIndex(string, int64) (string, error)
	ListIndexExists(string, int64) (bool, error)
	GetString(string) (string, error)
	SetString(string, string) error
	ListKeys(string) ([]string, error)
	ListAppend(string, string) error
	Check() error
	Close()
}

type ConfigBackendFactory

type ConfigBackendFactory interface {
	NewBackend() ConfigBackend
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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