index

package
v0.0.0-...-e35ac8e Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DatabaseDSN string `json:"database_dsn" usage:"specify the connection string for database" default:"file:db.sqlite"`
}

type Index

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

func Open

func Open(cfg Config) (*Index, error)

func (*Index) Close

func (i *Index) Close() error

func (*Index) Index

func (i *Index) Index(docs ...interface{}) error

func (*Index) Migrate

func (i *Index) Migrate(schema ...interface{}) error

Jump to

Keyboard shortcuts

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