model

package
v0.0.0-...-8fb0787 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 2 Imported by: 0

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL