store

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SubscriptionPosition added in v0.8.0

type SubscriptionPosition struct {
	SubscriptionId string
	Position       int64
}

type Tx

type Tx interface {
	Commit() error
	Rollback() error
}

type WriteConflictError added in v0.8.0

type WriteConflictError struct {
	StreamId streams.Id
	Position int64 // position attempted to write
	Err      error // possible underlying storage engine error
}

Error type used when optimistic locking hits a write conflict

func (WriteConflictError) Error added in v0.8.0

func (err WriteConflictError) Error() string

func (WriteConflictError) Is added in v0.8.0

func (err WriteConflictError) Is(target error) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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