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
}
func (*ClickhouseService) StoreCustom ¶ added in v0.14.0
StoreCustom implements Service.
func (*ClickhouseService) StorePageView ¶ added in v0.14.0
StorePageView implements Service.
type Service ¶
type Service interface { StorePageView(context.Context, *event.PageView) error StoreCustom(context.Context, *event.Custom) error }
Service define an event storage service.
func ProvideClickhouseService ¶
func ProvideClickhouseService( ch clickhouse.Ch, logger zerolog.Logger, teardownService teardown.Service, ) Service
ProvideClickhouseService is a wire provider for a clickhouse based event storage service.
Click to show internal directories.
Click to hide internal directories.