matchservice

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL