eventstore

package
v0.9.0-beta0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClickhouseService

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

ClickhouseService define a clickhouse based event storage service.

func (*ClickhouseService) StorePageViewEvent

func (cs *ClickhouseService) StorePageViewEvent(ctx context.Context, ev event.PageView) error

StorePageViewEvent implements Service.

type Service

type Service interface {
	StorePageViewEvent(context.Context, event.PageView) error
}

Service define an event storage service.

func ProvideClickhouseService

func ProvideClickhouseService(ch clickhouse.Ch, logger log.Logger) Service

ProvideClickhouseService is a wire provider for a clickhouse based event storage service.

Jump to

Keyboard shortcuts

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