tv

package
v0.0.0-...-7f0b611 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var First bool
View Source
var Outputmap map[string]string

Functions

func Chushou

func Chushou()

一个一个直播间的数,可以获取直播间的更多信息

func Chushou2

func Chushou2()

直接获取总数,简单快速

func Dashen

func Dashen()

大神TV

func Feiyun

func Feiyun()

飞云tv

func Lansha

func Lansha()

蓝鲨

func Qq

func Qq()

func Wukong

func Wukong()

悟空

Types

type ChushouMore

type ChushouMore struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	Data    struct {
		Count int `json:"count"`
		Items []struct {
			ID      int    `json:"id"`
			PanelID int    `json:"panelId"`
			Type    int    `json:"type"`
			Name    string `json:"name"`
			Meta    struct {
				OnlineCount     int    `json:"onlineCount"`
				Creator         string `json:"creator"`
				Gender          string `json:"gender"`
				GameName        string `json:"gameName"`
				SubscriberCount int    `json:"subscriberCount"`
				GameTargetKey   string `json:"gameTargetKey"`
				Avatar          string `json:"avatar"`
				GameCtxPath     string `json:"gameCtxPath"`
				Live            bool   `json:"live"`
				Professional    int    `json:"professional"`
			} `json:"meta"`
			Cover             string      `json:"cover"`
			TargetKey         string      `json:"targetKey"`
			Desc              string      `json:"desc"`
			Order             int         `json:"order"`
			Style             int         `json:"style"`
			CategoryID        int         `json:"categoryId"`
			StartTime         interface{} `json:"startTime"`
			EndTime           interface{} `json:"endTime"`
			CreatedTime       interface{} `json:"createdTime"`
			UpdatedTime       interface{} `json:"updatedTime"`
			Display           int         `json:"display"`
			Hot               int         `json:"hot"`
			Scope             int         `json:"scope"`
			CornerMark        int         `json:"cornerMark"`
			CategorySpecified bool        `json:"categorySpecified"`
			Show              bool        `json:"show"`
		} `json:"items"`
		Breakpoint string `json:"breakpoint"`
	} `json:"data"`
}

type DashenRet

type DashenRet struct {
	ResultCode int `json:"result_code"`
	ResultData struct {
		Result []struct {
			AnchorID     string `json:"anchor_id"`
			ImageURL     string `json:"image_url"`
			Popularity   string `json:"popularity"`
			HeadImageURL string `json:"head_image_url"`
			Nick         string `json:"nick"`
			Sex          string `json:"sex"`
			Name         string `json:"name"`
		} `json:"result"`
		Count int `json:"count"`
	} `json:"result_data"`
}

type LanshaMore

type LanshaMore struct {
	Data []struct {
		Avatar    string `json:"avatar"`
		BogerName string `json:"bogerName"`
		GameName  string `json:"gameName"`
		GameURL   string `json:"gameURL"`
		NickName  string `json:"nickName"`
		RoomImg   string `json:"roomImg"`
		RoomName  string `json:"roomName"`
		RoomURL   string `json:"roomURL"`
		ViewNum   int    `json:"viewNum"`
	} `json:"data"`
	Status int `json:"status"`
}

type QQResult

type QQResult struct {
	Ecode int `json:"ecode"`
	Data  struct {
		Num0 struct {
			Module  string `json:"module"`
			Method  string `json:"method"`
			RetMsg  string `json:"retMsg"`
			RetCode int    `json:"retCode"`
			RetBody struct {
				Data struct {
					IsGetOver int `json:"is_get_over"`
					LiveData  struct {
						LiveList []struct {
							AnchorFaceURL string `json:"anchor_face_url"`
							AnchorID      int    `json:"anchor_id"`
							AnchorName    string `json:"anchor_name"`
							Appid         string `json:"appid"`
							Appname       string `json:"appname"`
							City          string `json:"city"`
							Ext           struct {
							} `json:"ext"`
							FansCount int    `json:"fans_count"`
							Online    int    `json:"online"`
							Tag       string `json:"tag"`
							Title     string `json:"title"`
							VideoInfo struct {
								Dst      string `json:"dst"`
								Provider int    `json:"provider"`
								URL      string `json:"url"`
								VAttr    struct {
									DualID      int    `json:"dual_id"`
									DualType    int    `json:"dual_type"`
									HvDirection int    `json:"hv_direction"`
									Source      string `json:"source"`
									VCacheTmMax int    `json:"v_cache_tm_max"`
									VCacheTmMin int    `json:"v_cache_tm_min"`
									VHeight     int    `json:"v_height"`
									VPlayMode   int    `json:"v_play_mode"`
									VWidth      int    `json:"v_width"`
								} `json:"v_attr"`
								Vid       string `json:"vid"`
								VideoType int    `json:"video_type"`
							} `json:"video_info"`
						} `json:"live_list"`
					} `json:"live_data"`
					Total int `json:"total"`
				} `json:"data"`
				Message  string `json:"message"`
				Result   int    `json:"result"`
				TimeCost int    `json:"time_cost"`
			} `json:"retBody"`
		} `json:"0"`
	} `json:"data"`
	LoginCost int `json:"login_cost"`
	TimeCost  int `json:"time_cost"`
}

Jump to

Keyboard shortcuts

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