16 lines
623 B
Go
16 lines
623 B
Go
package model
|
|
|
|
// ImeiQueueStartMessage asks the Worker to scan its own card database and
|
|
// enqueue a full IMEI synchronization run. A nil Scope (or one whose channels
|
|
// normalize to empty) is a full sync.
|
|
//
|
|
// The json tags must stay byte-identical with the Worker-side definition in
|
|
// iotlcm-worker-svr (internal/model/imei_sync.go); the two services each keep
|
|
// their own copy by existing convention.
|
|
type ImeiQueueStartMessage struct {
|
|
RunID string `json:"runId"`
|
|
Operation string `json:"operation"`
|
|
TriggeredAt string `json:"triggeredAt"`
|
|
Scope *SyncScope `json:"scope,omitempty"`
|
|
}
|