data

package
v0.0.0-...-8b344aa Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Db *sql.DB

Functions

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 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() (err error)

type SwitchStop

type SwitchStop struct {
	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