repository

package
v0.0.0-...-da8027b Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventSourcing

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

func NewEventSourcing

func NewEventSourcing(c codec.Codec) *EventSourcing

func (*EventSourcing) Build

func (*EventSourcing) EventStorePostgres

func (b *EventSourcing) EventStorePostgres() eventstore.Store

func (*EventSourcing) SetEventStorePostgres

func (b *EventSourcing) SetEventStorePostgres(p *pgxpool.Pool) *EventSourcing

func (*EventSourcing) SetPublisher

func (b *EventSourcing) SetPublisher(p eventbus.Publisher) *EventSourcing

func (*EventSourcing) SetSnapshotPostgres

func (b *EventSourcing) SetSnapshotPostgres(p *pgxpool.Pool, threshold int, c snapshot.Codec) *EventSourcing

func (*EventSourcing) SetTxnPostgres

func (b *EventSourcing) SetTxnPostgres(p *pgxpool.Pool) *EventSourcing

func (*EventSourcing) SnapshotPostgres

func (b *EventSourcing) SnapshotPostgres() snapshot.Snapshot

func (*EventSourcing) TxnPostgres

func (b *EventSourcing) TxnPostgres() txn.Txn

Jump to

Keyboard shortcuts

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