Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.15.0
Config holds service configuration.
func ProvideConfig ¶ added in v0.15.0
func ProvideConfig() Config
ProvideConfig is a wire provider for service config.
type Service ¶
type Service interface { StorePageView(context.Context, *event.PageView) error StoreCustom(context.Context, *event.Custom) error }
Service define an event storage service.
func ProvideService ¶ added in v0.15.0
func ProvideService( cfg Config, ch clickhouse.Ch, logger zerolog.Logger, promRegistry *prometheus.Registry, teardownService teardown.Service, ) Service
ProvideService is a wire provider for a clickhouse based event storage service.
Click to show internal directories.
Click to hide internal directories.