Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteCond ¶
type DeleteCond struct {
BeforeCond TimeBeforeCond `bson:"tp.startTime"`
}
type DeleteTestLogCond ¶
type DeleteTestLogCond struct {
Day int64 `bson:"$lt"` //开始时间
}
type TimeBeforeCond ¶
type TimeBeforeCond struct {
BeforeTime int64 `bson:"$lt"`
}
startTime小于某时间,使用这种方式可以对想要进行的操作($set、$group等)提前定义
type TimeBeforeCond2 ¶
type TimeBeforeCond2 struct { BeforeTime DeleteTestLogCond `bson:"day"` Uid int64 `bson:"uid"` }
type TimePrint ¶
type TimePrint struct { StartTime int64 `bson:"startTime"` //开始时间 EndTime int64 `bson:"endTime"` //结束时间 }
创建实体
type UpdateByJobName ¶
type UpdateByJobName struct { Command string `bson:"command"` //shell命令 Content string `bson:"content"` //脚本输出 }
更新实体
Click to show internal directories.
Click to hide internal directories.