projection

package
v1.42.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, es *eventstore.Eventstore, config Config) error

Types

type ActionProjection added in v1.42.0

type ActionProjection struct {
	crdb.StatementHandler
}

func NewActionProjection added in v1.42.0

func NewActionProjection(ctx context.Context, config crdb.StatementHandlerConfig) *ActionProjection

type Config

type Config struct {
	RequeueEvery     types.Duration
	RetryFailedAfter types.Duration
	MaxFailureCount  uint
	BulkLimit        uint64
	CRDB             types.SQL
	Customizations   map[string]CustomConfig
}

type CustomConfig

type CustomConfig struct {
	RequeueEvery     *types.Duration
	RetryFailedAfter *types.Duration
	MaxFailureCount  *uint
	BulkLimit        *uint64
}

type OrgProjection

type OrgProjection struct {
	crdb.StatementHandler
}

func NewOrgProjection

func NewOrgProjection(ctx context.Context, config crdb.StatementHandlerConfig) *OrgProjection

type ProjectProjection

type ProjectProjection struct {
	crdb.StatementHandler
}

func NewProjectProjection

func NewProjectProjection(ctx context.Context, config crdb.StatementHandlerConfig) *ProjectProjection

Directories

Path Synopsis
org

Jump to

Keyboard shortcuts

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