Documentation ¶
Index ¶
- func Btoi16(b []byte, offset int) int16
- func Btoi32(b []byte, offset int) int32
- func CheckSwitch_FansMedal() (missKey []string)
- func Close(uid uintptr)
- func Cmd()
- func CookieCheck(key []string) (missKey []string)
- func CookieGet() []byte
- func CookieSet(source []byte)
- func Dosign()
- func F_x25Kn()
- func F_x25Kn_cancel()
- func Get(key string)
- func GetHistory(Roomid_int int) (j J.GetHistory)
- func GetUid() (missKey []string)
- func Get_HotRank() (missKey []string)
- func Get_LIVE_BUVID() (missKey []string)
- func Get_cookie() (missKey []string)
- func Get_cookie_by_msg()
- func Get_face_src(uid string) string
- func Get_guardNum() (missKey []string)
- func HeadChe(head []byte) header
- func HeadGen(datalenght, Opeation, Sequence int) []byte
- func Heartbeat() ([]byte, int)
- func HelloChe(r []byte) bool
- func HelloGen(roomid int, key string) []byte
- func Html() (missKey []string)
- func Info(UpUid int) (info J.Info)
- func IsConnected() bool
- func Itob16(num int16) []byte
- func Itob32(num int32) []byte
- func KeepConnect() (o bool)
- func Silver_2_coin() (missKey []string)
- func Wasm(uid uintptr, s RT) (o string)
- type E_json
- type Gift_list_type
- type Gift_list_type_Data
- type Gift_list_type_Data_List
- type R
- type RT
- type Roominfo
- type S
- type TGet_list_in_room
- type TGet_weared_medal
- type UpItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckSwitch_FansMedal ¶ added in v0.5.8
func CheckSwitch_FansMedal() (missKey []string)
func F_x25Kn_cancel ¶ added in v0.5.9
func F_x25Kn_cancel()
func GetHistory ¶ added in v0.5.9
func GetHistory(Roomid_int int) (j J.GetHistory)
func Get_HotRank ¶ added in v0.5.8
func Get_HotRank() (missKey []string)
func Get_face_src ¶
func Get_guardNum ¶ added in v0.5.8
func Get_guardNum() (missKey []string)
func IsConnected ¶ added in v0.5.9
func IsConnected() bool
func KeepConnect ¶ added in v0.5.9
func KeepConnect() (o bool)
Types ¶
type E_json ¶ added in v0.5.8
type E_json struct { Code int `json:"code"` Message string `json:"message"` Ttl int `json:"ttl"` Data struct { Timestamp int `json:"timestamp"` Heartbeat_interval int `json:"heartbeat_interval"` Secret_key string `json:"secret_key"` Secret_rule []int `json:"secret_rule"` Patch_status int `json:"patch_status"` } `json:"data"` }
小心心
type Gift_list_type ¶ added in v0.5.8
type Gift_list_type struct { Code int `json:"code"` Message string `json:"message"` Data Gift_list_type_Data `json:"data"` }
礼物列表
type Gift_list_type_Data ¶ added in v0.5.8
type Gift_list_type_Data struct {
List []Gift_list_type_Data_List `json:"list"`
}
type Gift_list_type_Data_List ¶ added in v0.5.8
type Gift_list_type_Data_List struct { Bag_id int `json:"bag_id"` Gift_id int `json:"gift_id"` Gift_name string `json:"gift_name"` Gift_num int `json:"gift_num"` Expire_at int `json:"expire_at"` }
func Gift_list ¶ added in v0.5.8
func Gift_list() (list []Gift_list_type_Data_List)
type R ¶ added in v0.5.8
type R struct { Id string `json:"id"` Device string `json:"device"` Ets int `json:"ets"` Benchmark string `json:"benchmark"` Time int `json:"time"` Ts int `json:"ts"` Ua string `json:"ua"` }
需要加密的数据
type TGet_list_in_room ¶ added in v0.5.8
type TGet_list_in_room struct { Medal_id int `json:"medal_id"` //牌子id Medal_name string `json:"medal_name"` //牌子名 Target_id int `json:"target_id"` //牌子up主uid Target_name string `json:"target_name"` //牌子up主名 Room_id int `json:"roomid"` //牌子直播间 Last_wear_time int `json:"last_wear_time"` //佩戴有效截止时间(佩戴本身不会刷新,发弹幕,送小心心,送金瓜子礼物才会刷新) Today_intimacy int `json:"today_intimacy"` //今日亲密(0:未发送弹幕 100:已发送弹幕) Is_lighted int `json:"is_lighted"` //牌子是否熄灭(0:熄灭 1:亮) }
牌子
type TGet_weared_medal ¶ added in v0.5.8
type TGet_weared_medal struct { Medal_id int `json:"medal_id"` //牌子id Medal_name string `json:"medal_name"` //牌子名 Target_id int `json:"target_id"` //牌子up主uid Target_name string `json:"target_name"` //牌子up主名 Roominfo Roominfo `json:"roominfo"` //牌子直播间 Today_intimacy int `json:"today_intimacy"` //今日亲密(0:未发送弹幕 100:已发送弹幕) Is_lighted int `json:"is_lighted"` //牌子是否熄灭(0:熄灭 1:亮) }
Click to show internal directories.
Click to hide internal directories.