Documentation
¶
Index ¶
Constants ¶
View Source
const ( ETH = "eth" ERC20 = "erc20" )
Variables ¶
This section is empty.
Functions ¶
func AccountsRankTop ¶
func GetRankJson ¶
func GetRankJson(arr []MyDocument) ([]byte, error)
Types ¶
type MyDocument ¶
type MyDocument struct { Number int32 `json: "number"` Name string `json: "name""` Score float64 `json: "score"` Median float64 `json: "median"` Weight float64 `json: "weight"` Datetime string `json: "datetime"` }
func ReadARankValue ¶
func ReadARankValue(database string, table string, number int) ([]MyDocument, error)
从ArangoDB数据库读取AR榜单
Click to show internal directories.
Click to hide internal directories.