model

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrNoFileLink no update contract
	ErrNoFileLink = fmt.Errorf("未上传完成!请点击上传按钮完成上传!")
)

Functions

This section is empty.

Types

type Archive

type Archive struct {
	ID    int64 `json:"id"`
	MID   int64 `json:"mid"`
	State int   `json:"state"`
}

Archive for db.

type ArgInfo

type ArgInfo struct {
	Mid  int64
	From int
}

ArgInfo arg

type ArgMidWithDate

type ArgMidWithDate struct {
	Mid  int64
	Date time.Time // 需要查询的时间,如果不填,会使用当前最新的数据
}

ArgMidWithDate arg

type ArgSpecial

type ArgSpecial struct {
	GroupID int64
}

ArgSpecial arg

type BAP

type BAP struct {
	UserName  string `json:"username"`
	Title     string `json:"title"`
	Content   string `json:"content"`
	URL       string `json:"url"`
	Ty        string `json:"type"`
	Token     string `json:"token"`
	Signature string `json:"signature"`
	TimeStamp int64  `json:"timestamp"`
}

BAP for wechat msg.

type CommandCommonArg

type CommandCommonArg struct {
}

CommandCommonArg common arg for command

type CommandCommonResult

type CommandCommonResult struct {
}

CommandCommonResult common result for command

type Msg

type Msg struct {
	MID         int64 `json:"mid"`
	From        int   `json:"from"`
	IsAuthor    int   `json:"is_author"`
	TimeStamp   int64 `json:"timestamp"`
	ConsumeTime int64 `json:"consume_time,omitempty"`
}

Msg for databus consume.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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