Documentation ¶
Index ¶
- Constants
- type ApiController
- type BlockListResp
- type Pagination
- type PaginationResult
- type Result
- type TxListResp
- type TxsController
- type WebController
- func (wc *WebController) Block()
- func (wc *WebController) Blocks()
- func (wc *WebController) Contract()
- func (wc *WebController) ContractPage()
- func (wc *WebController) ContractsLatest()
- func (wc *WebController) Index()
- func (wc *WebController) Search()
- func (wc *WebController) TxsLatest()
- func (wc *WebController) TxsPage()
Constants ¶
View Source
const ( DisplayNum = 50 BlockHashLen = 40 TxHashLen = 64 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiController ¶
type ApiController struct {
beego.Controller
}
func (*ApiController) QueryBlock ¶
func (p *ApiController) QueryBlock()
func (*ApiController) QueryBlockList ¶
func (p *ApiController) QueryBlockList()
func (*ApiController) QueryTx ¶
func (p *ApiController) QueryTx()
func (*ApiController) QueryTxsByBlkHeight ¶
func (p *ApiController) QueryTxsByBlkHeight()
func (*ApiController) QueryTxsList ¶
func (p *ApiController) QueryTxsList()
func (*ApiController) QueryTxsListByBlk ¶
func (p *ApiController) QueryTxsListByBlk()
func (*ApiController) SaveContractMeta ¶
func (p *ApiController) SaveContractMeta()
type BlockListResp ¶
type BlockListResp struct { Total int Blocks []repository.Block }
type Pagination ¶
type PaginationResult ¶
type PaginationResult struct { Data interface{} `json:"data"` Page Pagination `json:"page"` }
type TxListResp ¶
type TxListResp struct { Total int Txs []repository.Transaction }
type TxsController ¶
type TxsController struct {
beego.Controller
}
func (*TxsController) Query ¶
func (tc *TxsController) Query()
type WebController ¶
type WebController struct {
beego.Controller
}
func (*WebController) Block ¶
func (wc *WebController) Block()
func (*WebController) Blocks ¶
func (wc *WebController) Blocks()
func (*WebController) Contract ¶
func (wc *WebController) Contract()
func (*WebController) ContractPage ¶
func (wc *WebController) ContractPage()
func (*WebController) ContractsLatest ¶
func (wc *WebController) ContractsLatest()
func (*WebController) Index ¶
func (wc *WebController) Index()
func (*WebController) Search ¶
func (wc *WebController) Search()
func (*WebController) TxsLatest ¶
func (wc *WebController) TxsLatest()
func (*WebController) TxsPage ¶
func (wc *WebController) TxsPage()
Click to show internal directories.
Click to hide internal directories.