plugin

package module
v0.0.0-...-4785d59 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

README

bili_danmu_plugin

PkgGoDev FOSSA Status

bili_danmu的额外插件

将对应go文件放入github.com/qydysky/bili_danmu/plugin后,运行go get .

License

FOSSA Status

Documentation

Index

Constants

View Source
const (
	LoadKv = iota
)

Event

Variables

View Source
var Plugin msgq.Msgq

Functions

This section is empty.

Types

type Danmu

type Danmu struct {
	Msg    string
	Color  string
	Border bool
	Mode   int
	Auth   any
	Uid    string
	Roomid int
}

type SaveDanmuToSqlite3

type SaveDanmuToSqlite3 struct {
	// contains filtered or unexported fields
}

保存弹幕至sqlite

将SaveDanmuToSqlite3.go放置于github.com/qydysky/bili_danmu/plugin以启用插件

此插件需要启用CGO_ENABLED=1,并安装了gcc

构建指引 https://github.com/mattn/go-sqlite3

type SaveDanmuToSqlite3PureGo

type SaveDanmuToSqlite3PureGo struct {
	// contains filtered or unexported fields
}

保存弹幕至sqlite

将SaveDanmuToSqlite3PureGo.go放置于github.com/qydysky/bili_danmu/plugin以启用插件

Jump to

Keyboard shortcuts

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