global

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const EchoPrefix = "perp"

EchoPrefix is prefix for generating echos

View Source
const LgrFolder = "Lagrange.OneBot/"

LgrFolder lgr bin directory

View Source
const ParentPath = "config/"

ParentPath perp files path

Variables

View Source
var AppSettings *model.AppSettings

AppSettings Lagrange.OneBot appsettings.json

View Source
var Config *model.Config

Config perpetua config.yml

View Source
var EchoRegx = regexp.MustCompile(`([^#]+)#([^#]+)#(.+)`)

EchoRegx to match ${EchoPrefix}#${uuid}#client-echo

View Source
var OneBotProcess *os.Process

OneBotProcess the currently running onebot process

View Source
var Restart bool

Restart marks whether the end status of the process is restarted

Functions

This section is empty.

Types

type MsgData

type MsgData map[string]interface{}

MsgData websocket message data type

var Heartbeat MsgData

Heartbeat NTQQ heartbeat status

var Lifecycle MsgData

Lifecycle NTQQ lifecycle metadata

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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