samples

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendToStream

func AppendToStream(db *esdb.Client)

func AppendToStreamOverridingUserCredentials

func AppendToStreamOverridingUserCredentials(db *esdb.Client)

func AppendWithConcurrencyCheck

func AppendWithConcurrencyCheck(db *esdb.Client)

func AppendWithNoStream

func AppendWithNoStream(db *esdb.Client)

func AppendWithSameId

func AppendWithSameId(db *esdb.Client)

func CheckpointCallbackWithInterval

func CheckpointCallbackWithInterval(db *esdb.Client)

func EventTypePrefix

func EventTypePrefix(db *esdb.Client)

func EventTypeRegex

func EventTypeRegex(db *esdb.Client)

func ExcludeSystemEvents

func ExcludeSystemEvents(db *esdb.Client)

func IgnoreSystemEvents

func IgnoreSystemEvents(db *esdb.Client)

func ReadAllOverridingUserCredentials

func ReadAllOverridingUserCredentials(db *esdb.Client)

func ReadFromAllBackwards

func ReadFromAllBackwards(db *esdb.Client)

func ReadFromAllStream

func ReadFromAllStream(db *esdb.Client)

func ReadFromStream

func ReadFromStream(db *esdb.Client)

func ReadFromStreamPosition

func ReadFromStreamPosition(db *esdb.Client)

func ReadFromStreamPositionCheck

func ReadFromStreamPositionCheck(db *esdb.Client)

func ReadFromStreamResolvingLinkToS

func ReadFromStreamResolvingLinkToS(db *esdb.Client)

func ReadStreamBackwards

func ReadStreamBackwards(db *esdb.Client)

func ReadStreamOverridingUserCredentials

func ReadStreamOverridingUserCredentials(db *esdb.Client)

func Run

func Run()

func StreamPrefix

func StreamPrefix(db *esdb.Client)

func StreamRegex

func StreamRegex(db *esdb.Client)

func SubscribeToAll

func SubscribeToAll(db *esdb.Client)

func SubscribeToAllOverridingUserCredentials

func SubscribeToAllOverridingUserCredentials(db *esdb.Client)

func SubscribeToFiltered

func SubscribeToFiltered(db *esdb.Client)

func SubscribeToStream

func SubscribeToStream(db *esdb.Client)

Types

type TestEvent

type TestEvent struct {
	Id            string
	ImportantData string
}

Jump to

Keyboard shortcuts

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