Versions in this module Expand all Collapse all v0 v0.1.0 Nov 15, 2026 Changes in this version + type EventType = eventgenerator.EventType + type Extension struct + func NewExtension[EventT EventType](opts ...Option[EventT]) *Extension[EventT] + func (ext *Extension[EventT]) InitRouter(ctx context.Context, router *router.Router, tracer opentracing.Tracer) + type Option func(ext *Extension[EventT]) + func WithCustomPriceExtractor[EventT EventType](priceExtractor PriceExtractor) Option[EventT] + func WithDefaultPriceExtractor[EventT EventType](paramName string) Option[EventT] + func WithEventAllocator[EventT EventType](eventAllocator eventgenerator.Allocator[EventT]) Option[EventT] + func WithEventStream[EventT EventType](eventStream eventstream.Stream) Option[EventT] + func WithHTTPHandlerWrapper[EventT EventType](handlerWrapper *httphandler.HTTPHandlerWrapper) Option[EventT] + func WithURLGenerator[EventT EventType](urlGenerator adtype.URLGenerator) Option[EventT] + type PriceExtractor func(ctx context.Context, rctx *fasthttp.RequestCtx) (float64, error) + func DefaultPriceExtractor(paramName string) PriceExtractor