data

package
v0.0.0-...-a9e9222 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JKCmdBase

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

func NewCmdBase

func NewCmdBase() (*JKCmdBase, error)

func (*JKCmdBase) AddAttr

func (c *JKCmdBase) AddAttr(a *map[string]string) error

func (*JKCmdBase) CmdSimple

func (c *JKCmdBase) CmdSimple(db *helper.Mongo, id int64, cmd, subcmd, content string, attr map[string]string) error

func (*JKCmdBase) SaveToDb

func (c *JKCmdBase) SaveToDb(db *helper.Mongo, col string) error

type JKCmdBaseInfo

type JKCmdBaseInfo struct {
	CreateTime int64  `bson:"createTime"`
	RecordTime int64  `bson:"recordTime"`
	UpdateTime int64  `bson:"updateTime"`
	Id         int64  `bson:"id"`
	Cmd        string `bson:"cmd"`
	SubCmd     string `bson:"subCmd"`
	Title      string `bson:"title"`
	Content    string `bson:"content"`
	Source     string `bson:"source"`
	Attr       string `bson:"attr"`
}

Jump to

Keyboard shortcuts

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