Documentation ¶
Index ¶
- type ShippingServer
- func (s *ShippingServer) ClearAllResponses(tid string)
- func (s *ShippingServer) SetCreateResponse(tid string, res *v1.CreateShippingResponse, err error)
- func (s *ShippingServer) SetCreateResponseCreator(tid string, ...)
- func (s *ShippingServer) SetStatusResponse(tid string, res *v1.ShippingStatusResponse, err error)
- func (s *ShippingServer) SetStatusResponseCreator(tid string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShippingServer ¶
type ShippingServer struct {
// contains filtered or unexported fields
}
func NewShippingServer ¶
func NewShippingServer( grpcServer *grpc.Server, ) *ShippingServer
func (*ShippingServer) ClearAllResponses ¶
func (s *ShippingServer) ClearAllResponses( tid string, )
func (*ShippingServer) SetCreateResponse ¶
func (s *ShippingServer) SetCreateResponse( tid string, res *v1.CreateShippingResponse, err error, )
func (*ShippingServer) SetCreateResponseCreator ¶
func (s *ShippingServer) SetCreateResponseCreator( tid string, creator func(ctx context.Context, req *v1.CreateShippingRequest) (*v1.CreateShippingResponse, error))
func (*ShippingServer) SetStatusResponse ¶
func (s *ShippingServer) SetStatusResponse( tid string, res *v1.ShippingStatusResponse, err error, )
func (*ShippingServer) SetStatusResponseCreator ¶
func (s *ShippingServer) SetStatusResponseCreator( tid string, creator func(ctx context.Context, req *v1.ShippingStatusRequest) (*v1.ShippingStatusResponse, error))
Click to show internal directories.
Click to hide internal directories.