datastore

package
v0.0.0-...-690d12d Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Elastic = "elastic"
)

Variables

View Source
var (
	ErrUnknownDatabaseProvider = errors.New("Unknown database provider type")
)

Functions

func New

func New(dsn string) (*elastic.Client, error)

func NewElastic

func NewElastic(c ESConfig) (conn *elastic.Client, err error)

Types

type ESConfig

type ESConfig struct {
	Url   string
	Sniff bool
	Index string
}

Jump to

Keyboard shortcuts

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