F

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: MIT Imports: 15 Imported by: 1

README


目录释义

目录 说明
./ 项目小工具
B_I.go 字节整数互转模块
F.go websocket消息生成与检查模块
api.go b站api获取模块

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Btoi16

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

func Btoi32

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

func Get_face_src

func Get_face_src(uid string) string

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 Itob16

func Itob16(num int16) []byte

func Itob32

func Itob32(num int32) []byte

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

func New_api

func New_api(Roomid int) (o *api)

Types

This section is empty.

Jump to

Keyboard shortcuts

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