Documentation ¶
Index ¶
- type ChangepasswordParams
- type Clients
- type CreateParams
- type ListOrdersParams
- type OrderBookParams
- type PlaceOrderParams
- type RemoveOrderParams
- type RestoreParams
- type RpcClient
- func (t *RpcClient) ChangePassword(ctx context.Context, newPassword string, oldPassword string) (*pb.ChangePasswordResponse, error)
- func (t *RpcClient) Close() error
- func (t *RpcClient) CreateNode(ctx context.Context, password string) (*pb.CreateNodeResponse, error)
- func (t *RpcClient) GetBalance(ctx context.Context, currency string) (*pb.GetBalanceResponse, error)
- func (t *RpcClient) GetInfo(ctx context.Context) (*pb.GetInfoResponse, error)
- func (t *RpcClient) GetMnemonic(ctx context.Context) (*pb.GetMnemonicResponse, error)
- func (t *RpcClient) GetTradeHistory(ctx context.Context, limit uint32) (*pb.TradeHistoryResponse, error)
- func (t *RpcClient) GetTradingLimits(ctx context.Context, currency string) (*pb.TradingLimitsResponse, error)
- func (t *RpcClient) ListOrders(ctx context.Context, pairId string, owner pb.ListOrdersRequest_Owner, ...) (*pb.ListOrdersResponse, error)
- func (t *RpcClient) ListPairs(ctx context.Context) (*pb.ListPairsResponse, error)
- func (t *RpcClient) OrderBook(ctx context.Context, pairId string, precision int32, limit uint32) (*pb.OrderBookResponse, error)
- func (t *RpcClient) PlaceOrder(ctx context.Context, pairId string, side pb.OrderSide, price float64, ...) (*pb.PlaceOrderResponse, error)
- func (t *RpcClient) RemoveOrder(ctx context.Context, orderId string, quantity uint64) (*pb.RemoveOrderResponse, error)
- func (t *RpcClient) RestoreNode(ctx context.Context, password string, seedMnemonic []string, ...) (*pb.RestoreNodeResponse, error)
- func (t *RpcClient) UnlockNode(ctx context.Context, password string) (*pb.UnlockNodeResponse, error)
- type Service
- type UnlockParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangepasswordParams ¶
type CreateParams ¶
type CreateParams struct {
Password string `json:"password"`
}
type ListOrdersParams ¶
type OrderBookParams ¶
type PlaceOrderParams ¶
type RemoveOrderParams ¶
type RestoreParams ¶
type RpcClient ¶
type RpcClient struct {
// contains filtered or unexported fields
}
func NewRpcClient ¶
func NewRpcClient(config config.RpcConfig, service *core.SingleContainerService) *RpcClient
func (*RpcClient) ChangePassword ¶
func (*RpcClient) CreateNode ¶
func (*RpcClient) GetBalance ¶
func (*RpcClient) GetMnemonic ¶
func (*RpcClient) GetTradeHistory ¶
func (*RpcClient) GetTradingLimits ¶
func (*RpcClient) ListOrders ¶
func (*RpcClient) PlaceOrder ¶
func (*RpcClient) RemoveOrder ¶
func (*RpcClient) RestoreNode ¶
func (*RpcClient) UnlockNode ¶
type Service ¶
type Service struct { *core.SingleContainerService *RpcClient }
func (*Service) ConfigureRouter ¶
func (t *Service) ConfigureRouter(r *gin.RouterGroup)
type UnlockParams ¶
type UnlockParams struct {
Password string `json:"password"`
}
Click to show internal directories.
Click to hide internal directories.