Documentation
¶
Index ¶
- Constants
- func NewItemStore() *itemStore
- func NewStatStore() *statStore
- type Provider
- func (p *Provider) BidRequestHandler(ctx *fasthttp.RequestCtx)
- func (p *Provider) DelItemHandler(ctx *fasthttp.RequestCtx)
- func (p *Provider) GetItemHandler(ctx *fasthttp.RequestCtx)
- func (p *Provider) GetItemsHandler(ctx *fasthttp.RequestCtx)
- func (p *Provider) ItemStatsHandler(ctx *fasthttp.RequestCtx)
- func (p *Provider) NotifyHandler(ctx *fasthttp.RequestCtx)
- func (p *Provider) Start(ctx context.Context, listenNetwork, listenAddr, baseURL string) error
- func (p *Provider) StatsHandler(ctx *fasthttp.RequestCtx)
- func (p *Provider) UpsertItemHandler(ctx *fasthttp.RequestCtx)
- func (p *Provider) VASTEventHandler(ctx *fasthttp.RequestCtx)
- func (p *Provider) VASTHandler(ctx *fasthttp.RequestCtx)
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 (*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) 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)
Click to show internal directories.
Click to hide internal directories.