Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetDepthReq ¶
type GetDepthReq = pb.GetDepthReq
type GetDepthResp ¶
type GetDepthResp = pb.GetDepthResp
type GetDepthResp_Position ¶
type GetDepthResp_Position = pb.GetDepthResp_Position
type GetTickReq ¶
type GetTickReq = pb.GetTickReq
type GetTickResp ¶
type GetTickResp = pb.GetTickResp
type GetTickResp_Tick ¶
type GetTickResp_Tick = pb.GetTickResp_Tick
type GetTickerReq ¶
type GetTickerReq = pb.GetTickerReq
type GetTickerResp ¶
type GetTickerResp = pb.GetTickerResp
type GetTickerResp_Ticker ¶
type GetTickerResp_Ticker = pb.GetTickerResp_Ticker
type MatchService ¶
type MatchService interface { // 获取深度 GetDepth(ctx context.Context, in *GetDepthReq, opts ...grpc.CallOption) (*GetDepthResp, error) // 获取tick实时成交 GetTick(ctx context.Context, in *GetTickReq, opts ...grpc.CallOption) (*GetTickResp, error) // 获取ticker GetTicker(ctx context.Context, in *GetTickerReq, opts ...grpc.CallOption) (*GetTickerResp, error) }
func NewMatchService ¶
func NewMatchService(cli zrpc.Client) MatchService
Click to show internal directories.
Click to hide internal directories.