http

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(c *conf.Config, s *service.Service)

Init init http

Types

type AddHistory

type AddHistory struct {
	Aid      int64  `form:"aid" validate:"required,gt=0"`
	Cid      int64  `form:"cid"`
	Epid     int64  `form:"epid"`
	TP       int8   `form:"type"`
	SubTP    int8   `form:"sub_type"`
	DT       int8   `form:"dt"`
	Sid      int64  `form:"sid"`
	Platform string `form:"platform"`
	Device   string `form:"device"`
}

AddHistory AddHistory.

type HistoryReport

type HistoryReport struct {
	Mid       int64  `form:"mid"`
	Aid       int64  `form:"aid"`
	Type      int8   `form:"type"`
	Cid       int64  `form:"cid"`
	Epid      int64  `form:"epid"`
	Sid       int64  `form:"sid"`
	SubTP     int8   `form:"subtype"`
	SubType   int8   `form:"sub_type"`
	DT        int8   `form:"dt"`
	Realtime  int64  `form:"realtime"`
	Source    int64  `form:"source"`
	Progress  int64  `form:"progress"`
	Platform  string `form:"platform"`
	Device    string `form:"device"`
	PlayTime  int64  `form:"play_time"`
	MobileApp string `form:"mobi_app"`
}

HistoryReport HistoryReport.

type Histroy

type Histroy struct {
	Pn int  `form:"pn"`
	Ps int  `form:"ps"`
	TP int8 `form:"type"`
}

Histroy Histroy.

type Page

type Page struct {
	Pn int `form:"pn"`
	Ps int `form:"ps"`
}

Page Page.

Jump to

Keyboard shortcuts

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