Documentation ¶
Index ¶
- type TickerBeatsServiceServer
- type TransactionsServiceServer
- func (s *TransactionsServiceServer) CreateAccount(ctx context.Context, req *v1.CreateAccountRequest) (*empty.Empty, error)
- func (s *TransactionsServiceServer) CreateDeals(ctx context.Context, req *v1.CreateDealsRequest) (*emptypb.Empty, error)
- func (s *TransactionsServiceServer) CreateOrders(ctx context.Context, req *v1.CreateOrdersRequest) (*emptypb.Empty, error)
- func (s *TransactionsServiceServer) CreatePositions(ctx context.Context, req *v1.CreatePositionsRequest) (*emptypb.Empty, error)
- func (s *TransactionsServiceServer) CreateTradeTransaction(ctx context.Context, req *v1.CreateTradeTransactionRequest) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TickerBeatsServiceServer ¶ added in v0.9.2
type TickerBeatsServiceServer struct { v1.UnimplementedTickerBeatsServiceServer // contains filtered or unexported fields }
TransactionsServiceServer is used to implement TransactionsServiceServer
func NewTickerBeatsServiceServer ¶ added in v0.9.2
func NewTickerBeatsServiceServer(ticker svc.TickerBeatsService, trSvc trService.TradeRulesService) *TickerBeatsServiceServer
NewTickerBeatsServiceServer creates a new API server handler
func (*TickerBeatsServiceServer) GetTickerBeats ¶ added in v0.9.2
func (t *TickerBeatsServiceServer) GetTickerBeats(ctx context.Context, req *v1.TickerBeatsRequest) (*v1.TickerBeatsResponse, error)
type TransactionsServiceServer ¶ added in v0.9.2
type TransactionsServiceServer struct { v1.UnimplementedTransactionsServiceServer AccSvc accService.AccountsService InfoSvc infoS.AccountsInfoService DeaSvc deaService.DealsService OrdSvc ordService.OrdersService PosSvc posService.PositionsService TtSvc ttService.TradeTransactionService Beats bb.TickerBeatsService TrSvc trService.TradeRulesService }
TransactionsServiceServer is used to implement TransactionsServiceServer
func NewTransactionsServiceServer ¶ added in v0.9.2
func NewTransactionsServiceServer( accSvc accService.AccountsService, infoSvc infoS.AccountsInfoService, deaSvc deaService.DealsService, ordSvc ordService.OrdersService, posSvc posService.PositionsService, ttSvc ttService.TradeTransactionService, beats bb.TickerBeatsService, trSvc trService.TradeRulesService, ) *TransactionsServiceServer
NewTransactionsServiceServer creates a new API server handler
func (*TransactionsServiceServer) CreateAccount ¶ added in v0.9.2
func (s *TransactionsServiceServer) CreateAccount(ctx context.Context, req *v1.CreateAccountRequest) (*empty.Empty, error)
CreateAccount Create a new account
func (*TransactionsServiceServer) CreateDeals ¶ added in v0.9.2
func (s *TransactionsServiceServer) CreateDeals(ctx context.Context, req *v1.CreateDealsRequest) (*emptypb.Empty, error)
CreateDeals Create a new beats
func (*TransactionsServiceServer) CreateOrders ¶ added in v0.9.2
func (s *TransactionsServiceServer) CreateOrders(ctx context.Context, req *v1.CreateOrdersRequest) (*emptypb.Empty, error)
CreateOrders a new order
func (*TransactionsServiceServer) CreatePositions ¶ added in v0.9.2
func (s *TransactionsServiceServer) CreatePositions(ctx context.Context, req *v1.CreatePositionsRequest) (*emptypb.Empty, error)
func (*TransactionsServiceServer) CreateTradeTransaction ¶ added in v0.9.2
func (s *TransactionsServiceServer) CreateTradeTransaction(ctx context.Context, req *v1.CreateTradeTransactionRequest) (*emptypb.Empty, error)
Click to show internal directories.
Click to hide internal directories.