datastore

package
v0.0.0-...-17793f1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebStore

type WebStore interface {
	io.Closer
	Save(ctx context.Context, p *model.Page) error
	Get(ctx context.Context, p *model.Page) error
	Search(ctx context.Context, query string) ([]model.Page, error)
}

func NewSQLiteStore

func NewSQLiteStore(path string) (WebStore, error)

Jump to

Keyboard shortcuts

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