Help us shape the future of Go! Take the 2026 Go Developer Survey

datastore

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MultipleMatchErr = errors.New("multiple matches found")
View Source
var NoMatchErr = errors.New("no match found")
View Source
var UnsupportedOperationErr = errors.New("unsupported operation")

Functions

func GetCompilationArtifact

func GetCompilationArtifact(index Index, f FilterParams) (compilation.Artifact, error)

Types

type Factory

type Factory interface {
	Create(provider ProviderName, name string, options map[string]interface{}) (Index, error)
}

type Index

type Index interface {
	GetName() string
	GetCompilationArtifacts(f FilterParams) ([]compilation.Artifact, error)
	StoreCompilationArtifact(compilation.Artifact) error
	FlushCompilationCache() error
}

type NamedGetter

type NamedGetter func(name string) (Index, error)

type ProviderName

type ProviderName string

Jump to

Keyboard shortcuts

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