persistence

package
v0.7.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNamespaceUnknown         = errors.New("namespace unknown")
	ErrMalformedPageToken       = errors.New("malformed page token")
	ErrNetworkMigrationsMissing = errors.New("networkx migrations are not yet applied")
)

Functions

This section is empty.

Types

type Migrator

type Migrator interface {
	MigrationBox() (*popx.MigrationBox, error)
	MigrateUp(ctx context.Context) error
	MigrateDown(ctx context.Context) error
}

type Persister

type Persister interface {
	relationtuple.Manager

	Connection(ctx context.Context) *pop.Connection
}

type Provider

type Provider interface {
	Persister() Persister
}

Directories

Path Synopsis
sql

Jump to

Keyboard shortcuts

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