postgres

package
v1.80.0-v2.20.0...-ee3654f Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2025 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MaxRetries uint32
}

type Storage

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

func New

func New(client *database.DB, config *Config) *Storage

func (*Storage) Health

func (s *Storage) Health(ctx context.Context) error

Health implements eventstore.Pusher.

func (*Storage) Push

func (s *Storage) Push(ctx context.Context, intent *eventstore.PushIntent) (err error)

Push implements eventstore.Pusher.

func (*Storage) Query

func (s *Storage) Query(ctx context.Context, query *eventstore.Query) (eventCount int, err error)

Jump to

Keyboard shortcuts

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