Documentation ¶
Overview ¶
*
- Created by Adwind.
- User: liuyunlong
- Date: 11/13/18
- Time: 17:32
*
- Created by Adwind.
- User: liuyunlong
- Date: 11/15/18
- Time: 11:16
*
- Created by Adwind.
- User: liuyunlong
- Date: 11/13/18
- Time: 18:20
*
- Created by Adwind.
- User: liuyunlong
- Date: 11/14/18
- Time: 18:13
*
- Created by Adwind.
- User: liuyunlong
- Date: 11/13/18
- Time: 11:58
Index ¶
- Constants
- type BitController
- func (e *BitController) Err(m string, d interface{})
- func (b *BitController) GetAccountAddress()
- func (b *BitController) GetAddressesByAccount()
- func (b *BitController) GetBestBlockHash()
- func (b *BitController) GetBlockByHash()
- func (b *BitController) GetBlockByHeight()
- func (b *BitController) ListAccounts()
- func (e *BitController) Prepare()
- func (b *BitController) SendToAddress()
- func (e *BitController) Success(m string, d interface{})
- func (b *BitController) WalletPassphrase()
- type EthController
- func (e *EthController) Blocknumber()
- func (e *EthController) Coinbase()
- func (e *EthController) Contract()
- func (e *EthController) Err(m string, d interface{})
- func (e *EthController) EstimateGas()
- func (e *EthController) GetBalance()
- func (e *EthController) GetBlockByHash()
- func (e *EthController) GetBlockByNumber()
- func (e *EthController) GetBlockTransactionCountByHash()
- func (e *EthController) GetBlockTransactionCountByNumber()
- func (e *EthController) GetCode()
- func (e *EthController) GetGasPrice()
- func (e *EthController) GetHashRate()
- func (e *EthController) GetProtocolVersion()
- func (e *EthController) GetTransactionByBlockHashAndIndex()
- func (e *EthController) GetTransactionByBlockNumberAndIndex()
- func (e *EthController) GetTransactionByHash()
- func (e *EthController) GetTransactionCount()
- func (e *EthController) GetTransactionReceipt()
- func (e *EthController) GetUncleCountByBlockHash()
- func (e *EthController) GetUncleCountByBlockNumber()
- func (e *EthController) GetsBalance()
- func (e *EthController) IsMining()
- func (e *EthController) IsSyncing()
- func (e *EthController) Prepare()
- func (e *EthController) SendTransaction()
- func (e *EthController) SignTransaction()
- func (e *EthController) Success(m string, d interface{})
- type MainController
- type NetController
- func (e *NetController) ClientVersion()
- func (e *NetController) Err(m string, d interface{})
- func (n *NetController) GetPeerCount()
- func (e *NetController) GetVersion()
- func (e *NetController) IsListening()
- func (e *NetController) Prepare()
- func (e *NetController) Sha3()
- func (e *NetController) Success(m string, d interface{})
- type PersonalController
- func (e *PersonalController) CreateAccount()
- func (e *PersonalController) Err(m string, d interface{})
- func (e *PersonalController) ListAccounts()
- func (e *PersonalController) Prepare()
- func (e *PersonalController) SendTransaction()
- func (e *PersonalController) Success(m string, d interface{})
- func (e *PersonalController) UnlockAccount()
Constants ¶
View Source
const Mfasle = "失败"
View Source
const Mtrue = "成功"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitController ¶
type BitController struct {
// contains filtered or unexported fields
}
func (*BitController) GetAddressesByAccount ¶
func (b *BitController) GetAddressesByAccount()
获取账户子地址
type EthController ¶
type EthController struct {
// contains filtered or unexported fields
}
func (*EthController) Coinbase ¶
func (e *EthController) Coinbase()
func (*EthController) GetBlockTransactionCountByHash ¶
func (e *EthController) GetBlockTransactionCountByHash()
通过blockhash获取块里的交易hash数量
func (*EthController) GetBlockTransactionCountByNumber ¶
func (e *EthController) GetBlockTransactionCountByNumber()
通过blocknumber 获取块儿里的交易数量
func (*EthController) GetGasPrice ¶
func (e *EthController) GetGasPrice()
func (*EthController) GetTransactionByBlockHashAndIndex ¶
func (e *EthController) GetTransactionByBlockHashAndIndex()
func (*EthController) GetTransactionByBlockNumberAndIndex ¶
func (e *EthController) GetTransactionByBlockNumberAndIndex()
func (*EthController) GetTransactionByHash ¶
func (e *EthController) GetTransactionByHash()
func (*EthController) GetTransactionReceipt ¶
func (e *EthController) GetTransactionReceipt()
获取交易收据
func (*EthController) GetUncleCountByBlockHash ¶
func (e *EthController) GetUncleCountByBlockHash()
getUncleCount
func (*EthController) GetUncleCountByBlockNumber ¶
func (e *EthController) GetUncleCountByBlockNumber()
getUncleCount
func (*EthController) IsSyncing ¶
func (e *EthController) IsSyncing()
func (*EthController) SendTransaction ¶
func (e *EthController) SendTransaction()
func (*EthController) SignTransaction ¶
func (e *EthController) SignTransaction()
type MainController ¶
type MainController struct {
beego.Controller
}
func (*MainController) Get ¶
func (c *MainController) Get()
type NetController ¶
type NetController struct {
// contains filtered or unexported fields
}
type PersonalController ¶
type PersonalController struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.