persist

package
v5.0.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotFound

type NotFound struct {
	Msg string
}

func (NotFound) Error

func (n NotFound) Error() string

type PersistTx

type PersistTx interface {
	Commit() error
	Rollback() error
	Runnable
}

type Runnable

type Runnable interface {
	QueryContext(context.Context, string, ...interface{}) (*sql.Rows, error)
	ExecContext(context.Context, string, ...interface{}) (sql.Result, error)
}

type SpannerRunnable

type SpannerRunnable interface {
	QueryWithStats(context.Context, spanner.Statement) *spanner.RowIterator
}

type SpannerScanValuer

type SpannerScanValuer interface {
	SpannerScanner
	SpannerValuer
}

type SpannerScanner

type SpannerScanner interface {
	SpannerScan(*spanner.GenericColumnValue) error
}

type SpannerValuer

type SpannerValuer interface {
	SpannerValue() (interface{}, error)
}

Jump to

Keyboard shortcuts

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