Documentation ¶
Index ¶
- type OrderMatchingHandler
- func (h *OrderMatchingHandler) ListAllAsks(ctx context.Context, req *pb.ListAllAsksRequest) (*pb.ListAllAskReply, error)
- func (h *OrderMatchingHandler) ListAllBids(ctx context.Context, req *pb.ListAllBidsRequest) (*pb.ListAllBidsReply, error)
- func (h *OrderMatchingHandler) SubmitOrder(ctx context.Context, req *pb.SubmitOrderRequest) (*pb.SubmitOrderReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderMatchingHandler ¶
type OrderMatchingHandler struct {
// contains filtered or unexported fields
}
OrderMatchingHandler is handler convert gRPC request to service
func NewOrderMatchingHandler ¶
func NewOrderMatchingHandler(provider order.Provider) *OrderMatchingHandler
NewOrderMatchingHandler new OrderMatchingHandler method
func (*OrderMatchingHandler) ListAllAsks ¶
func (h *OrderMatchingHandler) ListAllAsks(ctx context.Context, req *pb.ListAllAsksRequest) (*pb.ListAllAskReply, error)
ListAllAsks is implement for pb.OrderMatchingServiceServer
func (*OrderMatchingHandler) ListAllBids ¶
func (h *OrderMatchingHandler) ListAllBids(ctx context.Context, req *pb.ListAllBidsRequest) (*pb.ListAllBidsReply, error)
ListAllBids is implement for pb.OrderMatchingServiceServer
func (*OrderMatchingHandler) SubmitOrder ¶
func (h *OrderMatchingHandler) SubmitOrder(ctx context.Context, req *pb.SubmitOrderRequest) (*pb.SubmitOrderReply, error)
SubmitOrder is implement for pb.OrderMatchingServiceServer
Click to show internal directories.
Click to hide internal directories.