event

package
v0.0.0-...-e613b9d Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOptions

func NewOptions() nutsdb.Options

func NewRepository

func NewRepository() (keyvalue.LoadSaveCloser, func() error, error)

Types

type Repository

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

func (*Repository) Close

func (p *Repository) Close() error

func (*Repository) Load

func (p *Repository) Load(ctx context.Context, prefix keyvalue.KeyPrefixer) (<-chan keyvalue.KeyValuer, error)

func (*Repository) Save

func (p *Repository) Save(ctx context.Context, keyvalue keyvalue.KeyValuer) error

Jump to

Keyboard shortcuts

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