sdk

package
v1.83.3 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Filter

func Filter(ctx context.Context, filter filterFunc, appender appendFunc, query *es_models.SearchQuery) error

func IsAppendEventError

func IsAppendEventError(err error) bool

func ThrowAggregaterf

func ThrowAggregaterf(parent error, id, format string, a ...interface{}) error

func ThrowAppendEventError

func ThrowAppendEventError(parent error, id, message string) error

Types

type AggregateFunc

type AggregateFunc func(context.Context) (*es_models.Aggregate, error)

type AppendEventError

type AppendEventError interface {
	error
	IsAppendEventError()
}

Jump to

Keyboard shortcuts

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