F

package
v0.11.15 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2024 License: MIT Imports: 26 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Btoi added in v0.5.11

func Btoi(b []byte, offset int, size int) int64

func Btoi16

func Btoi16(b []byte, offset int) int16

func Btoi32

func Btoi32(b []byte, offset int) int32

func Btoi64 added in v0.5.10

func Btoi64(b []byte, offset int) int64

func Btoui16 added in v0.5.11

func Btoui16(b []byte, offset int) uint16

func Btoui32 added in v0.5.11

func Btoui32(b []byte, offset int) uint32

func CookieCheck added in v0.5.8

func CookieCheck(key []string) (missKey []string)

cookie检查

func CookieGet added in v0.5.8

func CookieGet() []byte

func CookieSet added in v0.5.8

func CookieSet(source []byte)

func Dosign added in v0.5.8

func Dosign()

签到

func Feed_list added in v0.5.8

func Feed_list() (Uplist []J.FollowingDataList)

func GetHistory added in v0.5.9

func GetHistory(Roomid_int int) (j J.GetHistory)
func Get_cookie_by_msg()

短信登录

func Get_face_src

func Get_face_src(uid string) string

func Get_weared_medal added in v0.5.8

func Get_weared_medal() (item J.GetWearedMedal_Data)

获取当前佩戴的牌子

func HeadChe

func HeadChe(head []byte) header

func HeadGen

func HeadGen(datalenght, Opeation, Sequence int) []byte

头部生成与检查

func Heartbeat

func Heartbeat() ([]byte, int)

获取人气生成

func HelloChe

func HelloChe(r []byte) bool

func HelloGen

func HelloGen(roomid int, key string) []byte

认证生成与检查

func IsConnected added in v0.5.9

func IsConnected() bool

func Itob16

func Itob16(v int16) []byte

func Itob32

func Itob32(v int32) []byte

func Itob64 added in v0.5.10

func Itob64(v int64) []byte

整数 字节转换区 64 8字节 32 4字节 16 2字节

func KeepConnect added in v0.5.9

func KeepConnect()

func ParseHost added in v0.10.11

func ParseHost(rawURL string) string

just faster, use in right way

eg. ParseHost(`http://1.com/2`) => `1.com`

func ParseQuery added in v0.10.11

func ParseQuery(rawURL, key string) string

just faster, use in right way

eg. ParseQuery(`http://1.com/2?workspace=1`, "workspace=") => `1`

func ResolveReferenceLast added in v0.10.11

func ResolveReferenceLast(rawURL, ref string) string

just faster, use in right way

eg. ResolveReferenceLast(`http://1.com/2`, `1`) => `http://1.com/1`

func RoomEntryAction added in v0.5.11

func RoomEntryAction(roomId int)

进入房间

Types

type FansMedalI added in v0.10.3

type FansMedalI struct {
	TargetID  int
	IsLighted int
	MedalID   int
	RoomID    int
}

牌子字段

func Get_list_in_room added in v0.5.8

func Get_list_in_room() (array []FansMedalI)

获取牌子信息

type GetFunc added in v0.5.10

type GetFunc struct {
	*c.Common
	// contains filtered or unexported fields
}

func Get added in v0.5.8

func Get(c *c.Common) *GetFunc

func (*GetFunc) CheckSwitch_FansMedal added in v0.5.10

func (c *GetFunc) CheckSwitch_FansMedal() (missKey []string)

func (*GetFunc) Get added in v0.5.10

func (c *GetFunc) Get(key string)

func (*GetFunc) GetNav added in v0.8.3

func (t *GetFunc) GetNav() (J.Nav, error)

是否登录

func (*GetFunc) GetUid added in v0.5.10

func (c *GetFunc) GetUid() (missKey []string)

func (*GetFunc) Get_HotRank deprecated added in v0.5.10

func (c *GetFunc) Get_HotRank() (missKey []string)

Deprecated: 2023-01-15

func (*GetFunc) Get_LIVE_BUVID added in v0.5.10

func (t *GetFunc) Get_LIVE_BUVID() (missKey []string)

LIVE_BUVID

func (t *GetFunc) Get_cookie() (missKey []string)

扫码登录

func (*GetFunc) Get_guardNum added in v0.5.10

func (t *GetFunc) Get_guardNum() (missKey []string)
func (c *GetFunc) Get_other_cookie()

获取其他Cookie

func (*GetFunc) Html added in v0.5.10

func (t *GetFunc) Html() (missKey []string)

func (*GetFunc) Info added in v0.8.3

func (t *GetFunc) Info(UpUid int) (J.Info, error)

func (*GetFunc) SearchUP added in v0.9.0

func (c *GetFunc) SearchUP(s string) (list []searchresult)

func (*GetFunc) Silver_2_coin added in v0.5.10

func (t *GetFunc) Silver_2_coin() (missKey []string)

银瓜子2硬币

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 UpItem added in v0.5.8

type UpItem struct {
	Uname      string `json:"uname"`
	Title      string `json:"title"`
	Roomid     int    `json:"roomid"`
	LiveStatus int    `json:"live_status"`
}

正在直播主播

func GetHisStream added in v0.5.11

func GetHisStream() (Uplist []UpItem)

获取历史观看 直播

Jump to

Keyboard shortcuts

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