Versions in this module Expand all Collapse all v0 v0.5.11 Sep 22, 2020 Changes in this version + func ChainsGet(w http.ResponseWriter, r *http.Request) + func DataExist(w http.ResponseWriter, r *http.Request) v0.5.6 Jun 17, 2020 Changes in this version + func AccountGet(w http.ResponseWriter, r *http.Request) + func AdminInfoGet(w http.ResponseWriter, r *http.Request) + func AdminsGet(w http.ResponseWriter, r *http.Request) + func BlockInfoGet(w http.ResponseWriter, r *http.Request) + func BlockMinePost(w http.ResponseWriter, r *http.Request) + func ChainNew(w http.ResponseWriter, r *http.Request) + func CryptoCheck(w http.ResponseWriter, r *http.Request) + func CryptoSign(w http.ResponseWriter, r *http.Request) + func DataGet(w http.ResponseWriter, r *http.Request) + func DataNextKeyGet(w http.ResponseWriter, r *http.Request) + func DataPost(w http.ResponseWriter, r *http.Request) + func EventPost(w http.ResponseWriter, r *http.Request) + func HashPowerGet(w http.ResponseWriter, r *http.Request) + func Index(w http.ResponseWriter, r *http.Request) + func Logger(inner http.Handler, name string) http.Handler + func MiningBlockGet(w http.ResponseWriter, r *http.Request) + func NewRouter() *mux.Router + func NodeAddressGet(w http.ResponseWriter, r *http.Request) + func NodePost(w http.ResponseWriter, r *http.Request) + func NodesGet(w http.ResponseWriter, r *http.Request) + func TimeGet(w http.ResponseWriter, r *http.Request) + func TransactionAdminPost(w http.ResponseWriter, r *http.Request) + func TransactionAppInfoGet(w http.ResponseWriter, r *http.Request) + func TransactionAppLifePost(w http.ResponseWriter, r *http.Request) + func TransactionInfoGet(w http.ResponseWriter, r *http.Request) + func TransactionMinerPost(w http.ResponseWriter, r *http.Request) + func TransactionMovePost(w http.ResponseWriter, r *http.Request) + func TransactionNew(w http.ResponseWriter, r *http.Request) + func TransactionNewAppPost(w http.ResponseWriter, r *http.Request) + func TransactionRunAppPost(w http.ResponseWriter, r *http.Request) + func TransactionTransferPost(w http.ResponseWriter, r *http.Request) + func TrustedBlockGet(w http.ResponseWriter, r *http.Request) + func VersionGet(w http.ResponseWriter, r *http.Request) + func VoteInfoGet(w http.ResponseWriter, r *http.Request) + func VoteRewardGet(w http.ResponseWriter, r *http.Request) + func WSBlockForMining(ws *websocket.Conn) + type Account struct + Address string + Chain uint64 + Cost uint64 + type Admin struct + Cost uint64 + TransKey string + type AdminInfo struct + Address string + Deposit uint64 + Votes uint64 + type AppLife struct + AppName string + Energy uint64 + Life uint64 + TransKey string + type ChainNewInfo struct + Cost uint64 + DstChain uint64 + Energy uint64 + TransKey string + type CryptoInfo struct + HexMsg bool + Message string + Owner string + Sign string + type DataInfo struct + AppName string + IsDBData bool + Key string + Life uint64 + StructName string + Value string + type DataNextKey struct + AppName string + IsDBData bool + Key string + PreKey string + StructName string + type EventInfo struct + Event string + Param string + Who string + type Miner struct + Cost uint64 + Energy uint64 + Miner string + TargetChain uint64 + TransKey string + type NewApp struct + AppName string + CodePath string + Cost uint64 + EnableImport bool + EnableRun bool + Energy uint64 + IsPrivate bool + TransKey string + type NodeInfo struct + Address string + Miners int + NodeNumber int + type RespOfNewTrans struct + Chain uint64 + TransKey string + type Route struct + HandlerFunc http.HandlerFunc + Method string + Name string + Pattern string + type Routes []Route + type RunApp struct + AppName string + Cost uint64 + Energy uint64 + JSONParam interface{} + Param string + ParamType string + type TransInfo struct + Key []byte + Others interface{} + Size int + type TransMoveInfo struct + Cost uint64 + DstChain uint64 + Energy uint64 + TransKey string + type TransferInfo struct + Cost uint64 + Energy uint64 + Peer string + TransKey string + type VersionInfo struct + BuildTime string + GitHead string + Version string + type VoteInfo struct + Address string + Admin string + StartDay uint64 + Votes uint64 + type VoteReward struct + Day uint64 + Reward uint64 + type WSRoute struct + HandlerFunc websocket.Handler + Name string + Pattern string + type WSRoutes []WSRoute