index

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewElasticsearchIndex

func NewElasticsearchIndex(host string, port int, idx string) (catalog.Index, error)

func NewFSIndex

func NewFSIndex(root string, repos ...string) (catalog.Index, error)

func NewGitHubIndex

func NewGitHubIndex(repos ...string) (catalog.Index, error)

func NewPgSQLIndex

func NewPgSQLIndex(host string, port int, user string, password string, dbname string, maxconns int) (catalog.Index, error)

func NewS3Index

func NewS3Index(bucket string) (catalog.Index, error)

func NewTile38Index

func NewTile38Index(host string, port int, collection string, repos ...string) (catalog.Index, error)

func NewWOFIndex

func NewWOFIndex() (catalog.Index, error)

Types

type ElasticsearchIndex

type ElasticsearchIndex struct {
	catalog.Index
	// contains filtered or unexported fields
}

func (*ElasticsearchIndex) GetById

func (e *ElasticsearchIndex) GetById(id int64) (catalog.Record, error)

type FSIndex

type FSIndex struct {
	catalog.Index
	// contains filtered or unexported fields
}

func (*FSIndex) GetById

func (e *FSIndex) GetById(id int64) (catalog.Record, error)

type GitHubIndex

type GitHubIndex struct {
	catalog.Index
	// contains filtered or unexported fields
}

func (*GitHubIndex) GetById

func (e *GitHubIndex) GetById(id int64) (catalog.Record, error)

type PgSQLIndex

type PgSQLIndex struct {
	catalog.Index
	// contains filtered or unexported fields
}

func (*PgSQLIndex) GetById

func (e *PgSQLIndex) GetById(id int64) (catalog.Record, error)

type S3Index

type S3Index struct {
	catalog.Index
	// contains filtered or unexported fields
}

func (*S3Index) GetById

func (e *S3Index) GetById(id int64) (catalog.Record, error)

type Tile38Index

type Tile38Index struct {
	catalog.Index
	// contains filtered or unexported fields
}

func (*Tile38Index) GetById

func (e *Tile38Index) GetById(id int64) (catalog.Record, error)

type Tile38Response

type Tile38Response map[string]interface{}

type WOFIndex

type WOFIndex struct {
	catalog.Index
}

func (*WOFIndex) GetById

func (e *WOFIndex) GetById(id int64) (catalog.Record, error)

Jump to

Keyboard shortcuts

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