channel

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Category

type Category struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`
}

Category is

type ChanOids

type ChanOids struct {
	Oid      int64  `json:"-"`
	FromType string `json:"-"`
}

type Channel

type Channel struct {
	ID      int64  `json:"id"`
	Name    string `json:"name"`
	IsAtten int32  `json:"is_atten,omitempty"`
	Cover   string `json:"cover,omitempty"`
	Atten   int64  `json:"atten,omitempty"`
	Content string `json:"content,omitempty"`
}

Channel is

type List

type List struct {
	RegionTop    []*Region  `json:"region_top,omitempty"`
	RegionBottom []*Region  `json:"region_bottom,omitempty"`
	AttenChannel []*Channel `json:"atten_channel,omitempty"`
	RecChannel   []*Channel `json:"rec_channel,omitempty"`
	Ver          string     `json:"ver"`
}

List is

type Mysub

type Mysub struct {
	List         []*Channel `json:"list,omitempty"`
	DisplayCount int        `json:"display_count,omitempty"`
}

Mysub

type Param

type Param struct {
	MobiApp   string `form:"mobi_app"`
	Device    string `form:"device"`
	AccessKey string `form:"access_key"`
	Build     int    `form:"build"`
	Ver       string `form:"ver"`
	Lang      string `form:"lang"`
	ID        int64  `form:"id"`
	MID       int64  `form:"mid"`
}

Param is

type ParamSquare

type ParamSquare struct {
	MobiApp    string `form:"mobi_app"`
	Device     string `form:"device"`
	AccessKey  string `form:"access_key"`
	Build      int    `form:"build"`
	Lang       string `form:"lang"`
	MID        int64  `form:"mid"`
	LoginEvent int32  `form:"login_event"`
}

ParamSquare

type Region

type Region struct {
	ID       int64  `json:"-"`
	RID      int    `json:"tid"`
	ReID     int    `json:"reid"`
	Name     string `json:"name"`
	GoTo     string `json:"goto"`
	Param    string `json:"param"`
	Type     int8   `json:"type"`
	URI      string `json:"uri,omitempty"`
	Area     string `json:"-"`
	Language string `json:"-"`
	Plat     int8   `json:"-"`
}

Region is

type RegionConfig

type RegionConfig struct {
	ID       int64 `json:"-"`
	Rid      int64 `json:"-"`
	ScenesID int   `json:"-"`
}

RegionConfig

type RegionLimit

type RegionLimit struct {
	ID        int64  `json:"-"`
	Rid       int64  `json:"-"`
	Build     int    `json:"-"`
	Condition string `json:"-"`
}

RegionLimit

type Square

type Square struct {
	Region []*Region      `json:"region,omitempty"`
	Square []card.Handler `json:"square,omitempty"`
}

Square

type Tab

type Tab struct {
	ID         int64      `json:"id"`
	Name       string     `json:"name"`
	IsAtten    int32      `json:"is_atten,omitempty"`
	Atten      int64      `json:"atten,omitempty"`
	Cover      string     `json:"cover,omitempty"`
	HeadCover  string     `json:"head_cover,omitempty"`
	Content    string     `json:"content,omitempty"`
	URI        string     `json:"uri,omitempty"`
	Activity   int32      `json:"activity,omitempty"`
	SimilarTag []*Tab     `json:"similar_tag,omitempty"`
	TabList    []*TabList `json:"tab,omitempty"`
}

Tab is

func (*Tab) SimilarTagChange

func (t *Tab) SimilarTagChange(tc *tag.ChannelDetail)

type TabList

type TabList struct {
	TabID string `json:"tab_id,omitempty"`
	Name  string `json:"name,omitempty"`
	URI   string `json:"uri,omitempty,"`
}

func (*TabList) TabListChange

func (l *TabList) TabListChange(m *tab.Menu)

type Tag

type Tag struct {
	ID      int64  `json:"tag_id,omitempty"`
	Name    string `json:"tag_name,omitempty"`
	IsAtten int8   `json:"is_atten,omitempty"`
	Count   *struct {
		Atten int `json:"atten,omitempty"`
	} `json:"count,omitempty"`
}

Tag is

Jump to

Keyboard shortcuts

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