persistence

package
v0.10.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	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(ctx context.Context) (*popx.MigrationBox, error)
	MigrateUp(ctx context.Context) error
	MigrateDown(ctx context.Context) error
}

type Persister

type Persister interface {
	relationtuple.Manager
	relationtuple.MappingManager

	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