provider

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventTypeNotify        = "notify"
	EventTypeImpression    = "impression"
	EventTypeClick         = "click"
	EventTypeStart         = "start"
	EventTypeFirstQuartile = "firstQuartile"
	EventTypeMidpoint      = "midpoint"
	EventTypeThirdQuartile = "thirdQuartile"
	EventTypeComplete      = "complete"
)

Variables

This section is empty.

Functions

func NewItemStore

func NewItemStore() *itemStore

func NewStatStore

func NewStatStore() *statStore

Types

type Provider

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

func New

func New() *Provider

func (*Provider) BidRequestHandler

func (p *Provider) BidRequestHandler(ctx *fasthttp.RequestCtx)

func (*Provider) DelItemHandler

func (p *Provider) DelItemHandler(ctx *fasthttp.RequestCtx)

func (*Provider) GetItemHandler

func (p *Provider) GetItemHandler(ctx *fasthttp.RequestCtx)

func (*Provider) GetItemsHandler

func (p *Provider) GetItemsHandler(ctx *fasthttp.RequestCtx)

func (*Provider) ItemStatsHandler

func (p *Provider) ItemStatsHandler(ctx *fasthttp.RequestCtx)

func (*Provider) NotifyHandler

func (p *Provider) NotifyHandler(ctx *fasthttp.RequestCtx)

func (*Provider) Start

func (p *Provider) Start(
	ctx context.Context,
	listenNetwork,
	listenAddr,
	baseURL string,
) error

func (*Provider) StatsHandler

func (p *Provider) StatsHandler(ctx *fasthttp.RequestCtx)

func (*Provider) UpsertItemHandler

func (p *Provider) UpsertItemHandler(ctx *fasthttp.RequestCtx)

func (*Provider) VASTEventHandler

func (p *Provider) VASTEventHandler(ctx *fasthttp.RequestCtx)

func (*Provider) VASTHandler

func (p *Provider) VASTHandler(ctx *fasthttp.RequestCtx)

Jump to

Keyboard shortcuts

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