Versions in this module Expand all Collapse all v0 v0.1.0 Nov 15, 2026 Changes in this version + func NewRequestFor(ctx context.Context, app *admodels.Application, target adtype.Target, ...) adtype.BidRequester + type Endpoint interface + Codename func() string + Handle func(source Source, bidRequest adtype.BidRequester) adtype.Response + type Extension struct + URLQueryPattern string + func NewExtension(opts ...Option) *Extension + func (ext *Extension) InitRouter(ctx context.Context, router *router.Router, tracer opentracing.Tracer) + type Option func(ext *Extension) + func WithAdvertisementSource(source Source) Option + func WithAppAccessor(appAccessor appAccessor) Option + func WithFormatAccessor(formatAccessor types.FormatsAccessor) Option + func WithHTTPHandlerWrapper(handlerWrapper *httphandler.HTTPHandlerWrapper) Option + func WithSendpoints(endpoints ...Endpoint) Option + func WithSpy(spy middleware.Spy) Option + func WithURLQueryPattern(pattern string) Option + func WithZoneAccessor(zoneAccessor zoneAccessor) Option + type RequestOptions struct + Count int + Debug bool + FormatCodes []string + FormatTypes []string + Height int + HeightMax int + Interstitial bool + Keywords string + Page string + Push bool + Request *fasthttp.RequestCtx + SubID1 string + SubID2 string + SubID3 string + SubID4 string + SubID5 string + Width int + WidthMax int + X int + Y int + func NewDirectRequestOptions(ctx *fasthttp.RequestCtx) *RequestOptions + func NewRequestOptions(ctx *fasthttp.RequestCtx) (*RequestOptions, error) + func (opt *RequestOptions) GetFormatTypes() types.FormatTypeBitset + type Source interface + Bid func(request adtype.BidRequester) adtype.Response + ProcessResponse func(response adtype.Response)