Documentation ¶
Index ¶
- Constants
- type HTTPServer
- func (self *HTTPServer) AllBalances(c *gin.Context)
- func (self *HTTPServer) AllEBalances(c *gin.Context)
- func (self *HTTPServer) AllPrices(c *gin.Context)
- func (self *HTTPServer) CancelOrder(c *gin.Context)
- func (self *HTTPServer) Deposit(c *gin.Context)
- func (self *HTTPServer) GetActivities(c *gin.Context)
- func (self *HTTPServer) GetPendingActivities(c *gin.Context)
- func (self *HTTPServer) GetRate(c *gin.Context)
- func (self *HTTPServer) Price(c *gin.Context)
- func (self *HTTPServer) Run()
- func (self *HTTPServer) SetRate(c *gin.Context)
- func (self *HTTPServer) StopFetcher(c *gin.Context)
- func (self *HTTPServer) Trade(c *gin.Context)
- func (self *HTTPServer) Withdraw(c *gin.Context)
Constants ¶
View Source
const MAX_TIMESPOT uint64 = 18446744073709551615
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServer ¶
type HTTPServer struct {
// contains filtered or unexported fields
}
func NewHTTPServer ¶
func NewHTTPServer(app reserve.ReserveData, core reserve.ReserveCore, host string) *HTTPServer
func (*HTTPServer) AllBalances ¶
func (self *HTTPServer) AllBalances(c *gin.Context)
func (*HTTPServer) AllEBalances ¶
func (self *HTTPServer) AllEBalances(c *gin.Context)
func (*HTTPServer) AllPrices ¶
func (self *HTTPServer) AllPrices(c *gin.Context)
func (*HTTPServer) CancelOrder ¶
func (self *HTTPServer) CancelOrder(c *gin.Context)
func (*HTTPServer) Deposit ¶
func (self *HTTPServer) Deposit(c *gin.Context)
func (*HTTPServer) GetActivities ¶
func (self *HTTPServer) GetActivities(c *gin.Context)
func (*HTTPServer) GetPendingActivities ¶
func (self *HTTPServer) GetPendingActivities(c *gin.Context)
func (*HTTPServer) GetRate ¶
func (self *HTTPServer) GetRate(c *gin.Context)
func (*HTTPServer) Price ¶
func (self *HTTPServer) Price(c *gin.Context)
func (*HTTPServer) Run ¶
func (self *HTTPServer) Run()
func (*HTTPServer) SetRate ¶
func (self *HTTPServer) SetRate(c *gin.Context)
func (*HTTPServer) StopFetcher ¶
func (self *HTTPServer) StopFetcher(c *gin.Context)
func (*HTTPServer) Trade ¶
func (self *HTTPServer) Trade(c *gin.Context)
func (*HTTPServer) Withdraw ¶
func (self *HTTPServer) Withdraw(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.