Versions in this module Expand all Collapse all v0 v0.7.2 Apr 16, 2020 v0.7.1 Apr 9, 2020 Changes in this version + const GET_ALLOWANCE + const GET_BALANCE + const GET_BLK_BY_HASH + const GET_BLK_BY_HEIGHT + const GET_BLK_HASH + const GET_BLK_HEIGHT + const GET_BLK_HGT_BY_TXHASH + const GET_BLK_TXS_BY_HEIGHT + const GET_CONN_COUNT + const GET_CONTRACT_STATE + const GET_GAS_PRICE + const GET_GRANTONG + const GET_MEMPOOL_TXCOUNT + const GET_MEMPOOL_TXSTATE + const GET_MERKLE_PROOF + const GET_NETWORKID + const GET_SMTCOCE_EVTS + const GET_SMTCOCE_EVT_TXS + const GET_STORAGE + const GET_SYNC_STATUS + const GET_TX + const GET_UNBOUNDONG + const GET_VERSION + const POST_RAW_TX + func InitRestServer() rest.ApiServer + type Action struct + type Route struct + Handler http.HandlerFunc + Method string + Params []string + Path *regexp.Regexp + type Router struct + func NewRouter() *Router + func (r *Router) Connect(path string, handler http.HandlerFunc) + func (r *Router) Delete(path string, handler http.HandlerFunc) + func (r *Router) Get(path string, handler http.HandlerFunc) + func (r *Router) Head(path string, handler http.HandlerFunc) + func (r *Router) Options(path string, handler http.HandlerFunc) + func (r *Router) Post(path string, handler http.HandlerFunc) + func (r *Router) Put(path string, handler http.HandlerFunc) + func (r *Router) ServeHTTP(w http.ResponseWriter, req *http.Request) + func (this *Router) Try(path string, method string) (http.HandlerFunc, paramsMap, error)