controllers

package
v0.0.0-...-305b679 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCachedAdResponse

func GetCachedAdResponse(cacheKey string) (adResponse *m.AdResponse)

func GetCachedClkUrl

func GetCachedClkUrl(cacheKey string) (clkUrl string)

func GetClientIP

func GetClientIP(input *context.BeegoInput) string

func GetCommonResponse

func GetCommonResponse(adResponse *m.AdResponse) (commonResponse m.CommonResponse)

func SetCachedAdResponse

func SetCachedAdResponse(cacheKey string, adResponse *m.AdResponse)

func SetCachedClkUrl

func SetCachedClkUrl(cacheKey string, clkUrl string) (err error)

func ValidRequest

func ValidRequest(adRequest *m.AdRequest) (flg bool)

Types

type BaseController

type BaseController struct {
	beego.Controller
}

type ClientRequestController

type ClientRequestController struct {
	BaseController
}

func (*ClientRequestController) RequestAd4Client

func (this *ClientRequestController) RequestAd4Client()

Request Ad for client

type MonitorController

type MonitorController struct {
	beego.Controller
}

func (*MonitorController) UpdateStatus

func (this *MonitorController) UpdateStatus()

Request Ad

type RequestController

type RequestController struct {
	BaseController
}

func (*RequestController) RequestAd

func (this *RequestController) RequestAd()

Request Ad

func (*RequestController) TrackClk

func (this *RequestController) TrackClk()

func (*RequestController) TrackImp

func (this *RequestController) TrackImp()

type TrackingController

type TrackingController struct {
	beego.Controller
}

type ViewAdController

type ViewAdController struct {
	BaseController
}

func (*ViewAdController) ViewAd

func (this *ViewAdController) ViewAd()

type WebviewRequestController

type WebviewRequestController struct {
	BaseController
}

func (*WebviewRequestController) WebviewReq

func (this *WebviewRequestController) WebviewReq()

Request Ad for client

Jump to

Keyboard shortcuts

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