store

package
v0.0.0-...-f353867 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbstractStore

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

func (*AbstractStore) Lookup

func (s *AbstractStore) Lookup(identity string, identifier string) ([]string, errors.HTTPWrappedError)

Lookup does a basic

type FileStore

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

func (*FileStore) Load

func (s *FileStore) Load()

func (*FileStore) Lookup

func (s *FileStore) Lookup(identity string, identifier string) ([]string, err.HTTPWrappedError)

func (*FileStore) Path

func (s *FileStore) Path() string

type PropsdStore

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

func (*PropsdStore) Load

func (s *PropsdStore) Load()

func (*PropsdStore) Lookup

func (s *PropsdStore) Lookup(identity string, identifier string) ([]string, err.HTTPWrappedError)

func (*PropsdStore) Path

func (s *PropsdStore) Path() string

type Store

type Store interface {
	Load()
	Path() string
	Lookup(identity string, identifier string) ([]string, errors.HTTPWrappedError)
}

func CreateStore

func CreateStore(name string, conf map[string]interface{}) (Store, error)

func NewFileStore

func NewFileStore(conf map[string]interface{}) (Store, error)

func NewPropsdStore

func NewPropsdStore(conf map[string]interface{}) (Store, error)

type StoreFactory

type StoreFactory func(conf map[string]interface{}) (Store, error)

Jump to

Keyboard shortcuts

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