send

package
v0.14.14 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 License: MIT Imports: 15 Imported by: 0

README


目录释义

目录 说明
./ 发送数据区
Send.go 弹幕发送
Send_pm.go 私信发送
Send_gift.go 礼物发送

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrLimit     = errors.New("ErrLimit")
	ErrMsgEmpty  = errors.New("ErrMsgEmpty")
	ErrRoomEmpty = errors.New("ErrRoomEmpty")
	ErrNoLogin   = errors.New("ErrNoLogin")
	ErrRes       = errors.New("ErrRes")
)

Functions

func Danmu_s

func Danmu_s(msg string, roomid int) error

弹幕发送

func Danmu_s2 added in v0.5.10

func Danmu_s2(data map[string]string) error

通用发送

func Send_gift added in v0.5.8

func Send_gift(common *c.Common, gift_id, bag_id, gift_num int)

func Send_pm added in v0.5.6

func Send_pm(uid int, msg string) error

Types

type Pm_item added in v0.5.6

type Pm_item struct {
	Uid int
	Msg string
}

Jump to

Keyboard shortcuts

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