index

package
v0.0.0-...-b1c1fed Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 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