noderepo

package
v0.21.0-beta.0...-3228a42 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: ISC Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pebble

type Pebble struct {
	// contains filtered or unexported fields
}

func NewPebble

func NewPebble(path string) (*Pebble, error)

func (*Pebble) Close

func (repo *Pebble) Close() error

func (*Pebble) LoadChanges

func (repo *Pebble) LoadChanges(name []byte, height int32) ([]change.Change, error)

func (*Pebble) SaveChanges

func (repo *Pebble) SaveChanges(changes []change.Change) error

type Postgres

type Postgres struct {
	// contains filtered or unexported fields
}

func NewPostgres

func NewPostgres(dsn string, drop bool) (*Postgres, error)

func (*Postgres) Close

func (repo *Postgres) Close() error

func (*Postgres) LoadChanges

func (repo *Postgres) LoadChanges(name []byte, height int32) ([]change.Change, error)

func (*Postgres) SaveChanges

func (repo *Postgres) SaveChanges(changes []change.Change) error

Jump to

Keyboard shortcuts

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