natsio/model/queue_request.go

9 lines
208 B
Go
Raw Permalink Normal View History

2022-12-26 08:12:48 +00:00
package model
type QueueScheduleTaskRequest struct {
ID string `json:"id"`
NatsSubject string `json:"natsSubject"`
Data string `json:"data"`
StartAt int64 `json:"startAt"` // unix
}