Documentation ¶
Index ¶
- func GetAccount(c *gin.Context)
- func GetAccountTxs(c *gin.Context)
- func GetAsset(c *gin.Context)
- func GetAssetHolders(c *gin.Context)
- func GetAssetTxs(c *gin.Context)
- func GetAssets(c *gin.Context)
- func GetAssetsChartHistory(c *gin.Context)
- func GetAssetsImages(c *gin.Context)
- func GetAssetsMiniTokens(c *gin.Context)
- func GetBlocks(c *gin.Context)
- func GetCoinMarketChartData(c *gin.Context)
- func GetCoinMarketData(c *gin.Context)
- func GetFees(c *gin.Context)
- func GetOrders(c *gin.Context)
- func GetStatus(c *gin.Context)
- func GetTokens(c *gin.Context)
- func GetTxByTxHash(c *gin.Context)
- func GetTxs(c *gin.Context)
- func GetTxsByTxType(c *gin.Context)
- func GetValidator(c *gin.Context)
- func GetValidators(c *gin.Context)
- func Middleware(next http.Handler, c *client.Client, db *db.Database, l log.Logger) http.Handler
- func SetSession(client *client.Client, db *db.Database, log log.Logger)
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccountTxs ¶
GetAccountTxs returns transactions associated with an account
func GetAssetHolders ¶
GetAssetHolders returns asset holders based upon the request params
func GetAssetsChartHistory ¶
GetAssetsChartHistory returns
func GetAssetsImages ¶
GetAssetsImages returns images of all assets
func GetAssetsMiniTokens ¶
GetAssetsMiniTokens returns a list of mini tokens based upon the request params.
func GetCoinMarketChartData ¶
GetCoinMarketChartData returns market chart data from CoinGecko API
func GetCoinMarketData ¶
GetCoinMarketData returns market data from CoinGecko API
func GetTxByTxHash ¶
GetTxByTxHash returns certain transaction information by its tx hash
func GetTxsByTxType ¶
GetTxsByTxType returns transactions based upon the request params
func GetValidator ¶
GetValidator returns validator information on the active chain
func GetValidators ¶
GetValidators returns validators on the active chain
func Middleware ¶
Middleware logs incoming requests and calls next handler