Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueuePublisher ¶
type TrackGRPCApi ¶
type TrackGRPCApi struct { trackingService2.UnimplementedTrackingServer // contains filtered or unexported fields }
func NewTrackGRPCApi ¶
func NewTrackGRPCApi(log logger.Logger, tracking Tracking) *TrackGRPCApi
func (*TrackGRPCApi) GetResult ¶
func (s *TrackGRPCApi) GetResult( ctx context.Context, in *trackingService2.GetTrackingID, ) (*trackingService2.GetTrackingResponse, error)
func (*TrackGRPCApi) PostTracking ¶
func (s *TrackGRPCApi) PostTracking( ctx context.Context, in *trackingService2.PostTrackingRequest, ) (*trackingService2.PostTrackingResponse, error)
type Tracking ¶
type Tracking interface { QueuePublisher TrackingResultGetter }
Click to show internal directories.
Click to hide internal directories.