history

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: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BusTab

type BusTab struct {
	Business string `json:"business"`
	Name     string `json:"name"`
}

BusTab business tab

type ClearParam

type ClearParam struct {
	Mid      int64  `form:"mid"`
	Business string `form:"business"`
}

ClearParam clear param

type Cursor

type Cursor struct {
	Max   int64 `json:"max"`
	MaxTP int8  `json:"max_tp"`
	Ps    int   `json:"ps"`
}

Cursor for history

type DelParam

type DelParam struct {
	Mid   int64    `form:"mid"`
	Boids []string `form:"boids,split" validate:"min=1"`
}

DelParam del param

type HisParam

type HisParam struct {
	MobiApp  string `form:"mobi_app"`
	Device   string `form:"device"`
	Build    int64  `form:"build"`
	Platform string `form:"platform"`
	Pn       int    `form:"pn"`
	Ps       int    `form:"ps"`
	Mid      int64  `form:"mid"`
	Max      int64  `form:"max"`
	MaxTP    int8   `form:"max_tp"`
	Business string `form:"business"`
}

HisParam fro history

type ListCursor

type ListCursor struct {
	Tab    []*BusTab  `json:"tab"`
	List   []*ListRes `json:"list"`
	Cursor *Cursor    `json:"cursor"`
}

ListCursor for history

type ListRes

type ListRes struct {
	Title   string   `json:"title"`
	Covers  []string `json:"covers,omitempty"`
	Cover   string   `json:"cover,omitempty"`
	URI     string   `json:"uri"`
	History struct {
		Oid      int64  `json:"oid"`
		Tp       int8   `json:"tp"`
		Cid      int64  `json:"cid,omitempty"`
		Page     int32  `json:"page,omitempty"`
		Part     string `json:"part,omitempty"`
		Business string `json:"business"`
	} `json:"history"`
	Videos     int64  `json:"videos,omitempty"`
	Name       string `json:"name,omitempty"`
	Mid        int64  `json:"mid,omitempty"`
	Goto       string `json:"goto"`
	Badge      string `json:"badge,omitempty"`
	ViewAt     int64  `json:"view_at"`
	Progress   int64  `json:"progress,omitempty"`
	Duration   int64  `json:"duration,omitempty"`
	ShowTitle  string `json:"show_title,omitempty"`
	TagName    string `json:"tag_name,omitempty"`
	LiveStatus int    `json:"live_status,omitempty"`
	Current    string `json:"current,omitempty"`
	Total      string `json:"total,omitempty"`
	NewDesc    string `json:"new_desc,omitempty"`
	IsFinish   int8   `json:"is_finish,omitempty"`
}

ListRes for history

type LiveParam

type LiveParam struct {
	RoomIDs string `form:"room_ids"`
}

LiveParam statue param

type PGCRes

type PGCRes struct {
	EpID      int64  `json:"ep_id"`
	Cover     string `json:"cover"`
	URI       string `json:"uri"`
	Title     string `json:"title"`
	ShowTitle string `json:"show_title"`
	Season    struct {
		Title string `json:"title"`
	} `json:"season"`
}

PGCRes for history

Jump to

Keyboard shortcuts

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