data

package
v0.0.0-...-79b6298 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Db *sql.DB

Functions

func GetScramble

func GetScramble(s string) string

func SDBGI

func SDBGI(groupId int64) (err error)

SDBGI SwitchDeleteByGroupId

func SDBGIAPN

func SDBGIAPN(groupId int64, pluginName SwitchStop) (err error)

SDBGIAPN SwitchDeleteByGroupIdAndPluginName

func SwitchSave

func SwitchSave(groupId int64, pluginName string, gmtModified time.Time, stop bool) (err error)

Types

type Plu

type Plu struct {
	PluginName string
}

type Scramble

type Scramble struct {
	Instruction string
	ShortName   string
	ShowName    string
}

func Tnoodle

func Tnoodle(scramble string) (s Scramble)

type Switch

type Switch struct {
	Id          int
	GroupId     int64
	PluginName  string
	GmtModified time.Time
	Stop        bool
}

func SGBGIAPN

func SGBGIAPN(groupId int64, pluginName string) (bot_switch Switch, err error)

SGBGIAPN SwitchGetByGroupIdAndPluginName

func (*Switch) SwitchCreate

func (bot_switch *Switch) SwitchCreate() (err error)

func (*Switch) SwitchUpdate

func (bot_switch *Switch) SwitchUpdate(stop bool) (err error)

type SwitchStop

type SwitchStop struct {
	GroupId    int64
	PluginName []string
}

func SGBGIAS

func SGBGIAS(groupId int64) (bsss SwitchStop, err error)

SGBGIAS SwitchGetsByGroupIdAndStop bsss bot_switch_stops bss bot_switch_stop

Jump to

Keyboard shortcuts

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