Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewJobRepo, NewData, NewMongo)
Functions ¶
func NewJobRepo ¶
func NewJobRepo(data *Data, log *zap.SugaredLogger) service.MessageRepo
Types ¶
type Record ¶
type Record struct { Id primitive.ObjectID `bson:"_id,omitempty"` SendTime int64 `bson:"send_time"` Receivers []string `bson:"receivers"` TemplateId string `bson:"template_id"` Name string `bson:"name"` Content string `bson:"content"` IsSuccess int8 `bson:"is_success"` Message string `bson:"message"` // 失败错误原因 }
Click to show internal directories.
Click to hide internal directories.