Versions in this module Expand all Collapse all v0 v0.1.0 Jun 7, 2016 Changes in this version + var ErrInvalidArgument = errors.New("invalid argument") + func MakeHandler(ctx context.Context, hs Service, logger kitlog.Logger) http.Handler + type EventHandler interface + CargoWasHandled func(cargo.HandlingEvent) + func NewEventHandler(s inspection.Service) EventHandler + type Service interface + RegisterHandlingEvent func(completionTime time.Time, trackingID cargo.TrackingID, ...) error + func NewInstrumentingService(requestCount metrics.Counter, requestLatency metrics.TimeHistogram, s Service) Service + func NewLoggingService(logger log.Logger, s Service) Service + func NewService(r cargo.HandlingEventRepository, f cargo.HandlingEventFactory, h EventHandler) Service