factory

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

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

func New

func New() *Factory

func (*Factory) Add

func (f *Factory) Add(provider datastore.ProviderName, factory datastore.Factory)

func (*Factory) Create

func (f *Factory) Create(provider datastore.ProviderName, name string, options map[string]interface{}) (datastore.Index, error)

Jump to

Keyboard shortcuts

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