实现HTTP部分功能

This commit is contained in:
GoEdgeLab
2020-09-26 08:06:40 +08:00
parent 7581cf9f75
commit 16bbe7d380
45 changed files with 1117 additions and 456 deletions

View File

@@ -0,0 +1,20 @@
package models
// 系统事件
type SysEvent struct {
Id uint64 `field:"id"` // ID
Type string `field:"type"` // 类型
Params string `field:"params"` // 参数
CreatedAt uint64 `field:"createdAt"` // 创建时间
}
type SysEventOperator struct {
Id interface{} // ID
Type interface{} // 类型
Params interface{} // 参数
CreatedAt interface{} // 创建时间
}
func NewSysEventOperator() *SysEventOperator {
return &SysEventOperator{}
}