Documentation ¶
Index ¶
- Constants
- type HTTPServer
- func (self *HTTPServer) GetErrorLog(c *gin.Context)
- func (self *HTTPServer) GetGasPrice(c *gin.Context)
- func (self *HTTPServer) GetKyberEnabled(c *gin.Context)
- func (self *HTTPServer) GetLast7D(c *gin.Context)
- func (self *HTTPServer) GetLatestBlock(c *gin.Context)
- func (self *HTTPServer) GetMaxGasPrice(c *gin.Context)
- func (self *HTTPServer) GetRate(c *gin.Context)
- func (self *HTTPServer) GetRateETH(c *gin.Context)
- func (self *HTTPServer) GetRateUSD(c *gin.Context)
- func (self *HTTPServer) GetRightMarketInfo(c *gin.Context)
- func (self *HTTPServer) GetSourceAmount(c *gin.Context)
- func (self *HTTPServer) GetUserInfo(c *gin.Context)
- func (self *HTTPServer) Run(kyberENV string)
Constants ¶
View Source
const ( MAX_PAGE_SIZE = 50 DEFAULT_PAGE = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServer ¶
type HTTPServer struct {
// contains filtered or unexported fields
}
func NewHTTPServer ¶
func (*HTTPServer) GetErrorLog ¶
func (self *HTTPServer) GetErrorLog(c *gin.Context)
func (*HTTPServer) GetGasPrice ¶
func (self *HTTPServer) GetGasPrice(c *gin.Context)
func (*HTTPServer) GetKyberEnabled ¶
func (self *HTTPServer) GetKyberEnabled(c *gin.Context)
func (*HTTPServer) GetLast7D ¶
func (self *HTTPServer) GetLast7D(c *gin.Context)
func (*HTTPServer) GetLatestBlock ¶
func (self *HTTPServer) GetLatestBlock(c *gin.Context)
func (*HTTPServer) GetMaxGasPrice ¶
func (self *HTTPServer) GetMaxGasPrice(c *gin.Context)
func (*HTTPServer) GetRate ¶
func (self *HTTPServer) GetRate(c *gin.Context)
func (*HTTPServer) GetRateETH ¶
func (self *HTTPServer) GetRateETH(c *gin.Context)
func (*HTTPServer) GetRateUSD ¶
func (self *HTTPServer) GetRateUSD(c *gin.Context)
func (*HTTPServer) GetRightMarketInfo ¶
func (self *HTTPServer) GetRightMarketInfo(c *gin.Context)
func (*HTTPServer) GetSourceAmount ¶
func (self *HTTPServer) GetSourceAmount(c *gin.Context)
func (*HTTPServer) GetUserInfo ¶
func (self *HTTPServer) GetUserInfo(c *gin.Context)
func (*HTTPServer) Run ¶
func (self *HTTPServer) Run(kyberENV string)
Click to show internal directories.
Click to hide internal directories.