Documentation ¶
Index ¶
- func GetCachedAdResponse(cacheKey string) (adResponse *m.AdResponse)
- func GetCachedClkUrl(cacheKey string) (clkUrl string)
- func GetClientIP(input *context.BeegoInput) string
- func GetCommonResponse(adResponse *m.AdResponse) (commonResponse m.CommonResponse)
- func SetCachedAdResponse(cacheKey string, adResponse *m.AdResponse)
- func SetCachedClkUrl(cacheKey string, clkUrl string) (err error)
- func ValidRequest(adRequest *m.AdRequest) (flg bool)
- type BaseController
- type ClientRequestController
- type MonitorController
- type RequestController
- type TrackingController
- type ViewAdController
- type WebviewRequestController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCachedAdResponse ¶
func GetCachedAdResponse(cacheKey string) (adResponse *m.AdResponse)
func GetCachedClkUrl ¶
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 ValidRequest ¶
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
}
type RequestController ¶
type RequestController struct {
BaseController
}
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
Click to show internal directories.
Click to hide internal directories.