Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ItemCreated = "CREATED" ItemPending = "PENDING" ItemComplete = "COMPLETE" ItemDeleted = "DELETED" )
Functions ¶
This section is empty.
Types ¶
type SampleItem ¶
type SampleItem struct { ID int `json:"id,omitempty"` StartTime time.Time `json:"start_time,omitempty"` FinishTime time.Time `json:"finish_time,omitempty"` Status string `json:"status,omitempty"` }
func (*SampleItem) Expired ¶
func (c *SampleItem) Expired() bool
type SomeProcessingTask ¶
type SomeProcessingTask struct { SampleItem `json:"sample_item"` TraceID string `json:"trace_id"` }
Click to show internal directories.
Click to hide internal directories.