Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidArgument = errors.New("invalid argument")
Functions ¶
Types ¶
type Cargo ¶
type Cargo struct { TrackingID string `json:"tracking_id"` StatusText string `json:"status_text"` Origin string `json:"origin"` Destination string `json:"destination"` ETA time.Time `json:"eta"` NextExpectedActivity string `json:"next_expected_activity"` ArrivalDeadline time.Time `json:"arrival_deadline"` Events []Event `json:"events"` }
type Service ¶
func NewInstrumentingService ¶
func NewService ¶
func NewService(cargos cargo.Repository, events cargo.HandlingEventRepository) Service
Click to show internal directories.
Click to hide internal directories.