Documentation ¶
Index ¶
- type AddressesResponse
- type AssetBalanceResponse
- type AssetResponseAsset
- type AssetsResponse
- type BalanceResponse
- type ErrorResponse
- type HttpServer
- func (h *HttpServer) Addresses(w http.ResponseWriter, r *http.Request)
- func (h *HttpServer) AllAssets(w http.ResponseWriter, r *http.Request)
- func (h *HttpServer) AssetBalance(w http.ResponseWriter, r *http.Request)
- func (h *HttpServer) Balance(w http.ResponseWriter, r *http.Request)
- func (h *HttpServer) ChangeRpcSettings(w http.ResponseWriter, r *http.Request)
- func (h *HttpServer) FollowAsset(w http.ResponseWriter, r *http.Request)
- func (h *HttpServer) Home(w http.ResponseWriter, r *http.Request)
- func (h *HttpServer) MyAssets(w http.ResponseWriter, r *http.Request)
- func (h *HttpServer) Network(w http.ResponseWriter, r *http.Request)
- func (h *HttpServer) NewAsset(w http.ResponseWriter, r *http.Request)
- func (h *HttpServer) RpcSettings(w http.ResponseWriter, r *http.Request)
- func (h *HttpServer) Run() error
- func (h *HttpServer) SyncStatus(w http.ResponseWriter, r *http.Request)
- func (h *HttpServer) TransferAsset(w http.ResponseWriter, r *http.Request)
- func (h *HttpServer) TransferVTC(w http.ResponseWriter, r *http.Request, params TransferAssetParameters)
- func (h *HttpServer) TransferVTCStealth(w http.ResponseWriter, r *http.Request, params TransferAssetParameters)
- func (h *HttpServer) UnfollowAsset(w http.ResponseWriter, r *http.Request)
- type NetworkResponse
- type NewAssetParameters
- type NewAssetResult
- type RpcSettingsResponse
- type TransferAssetParameters
- type TransferAssetResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressesResponse ¶
type AssetBalanceResponse ¶
type AssetBalanceResponse struct {
TotalBalance uint64
}
type AssetResponseAsset ¶
type AssetsResponse ¶
type AssetsResponse struct {
Assets []AssetResponseAsset
}
type BalanceResponse ¶
type ErrorResponse ¶
type HttpServer ¶
type HttpServer struct {
// contains filtered or unexported fields
}
func NewHttpServer ¶
func NewHttpServer(w *wallet.Wallet, c *config.Config, bp *blockprocessor.BlockProcessor) *HttpServer
func (*HttpServer) Addresses ¶
func (h *HttpServer) Addresses(w http.ResponseWriter, r *http.Request)
func (*HttpServer) AllAssets ¶
func (h *HttpServer) AllAssets(w http.ResponseWriter, r *http.Request)
func (*HttpServer) AssetBalance ¶
func (h *HttpServer) AssetBalance(w http.ResponseWriter, r *http.Request)
func (*HttpServer) Balance ¶
func (h *HttpServer) Balance(w http.ResponseWriter, r *http.Request)
func (*HttpServer) ChangeRpcSettings ¶
func (h *HttpServer) ChangeRpcSettings(w http.ResponseWriter, r *http.Request)
func (*HttpServer) FollowAsset ¶
func (h *HttpServer) FollowAsset(w http.ResponseWriter, r *http.Request)
func (*HttpServer) Home ¶
func (h *HttpServer) Home(w http.ResponseWriter, r *http.Request)
func (*HttpServer) MyAssets ¶
func (h *HttpServer) MyAssets(w http.ResponseWriter, r *http.Request)
func (*HttpServer) Network ¶
func (h *HttpServer) Network(w http.ResponseWriter, r *http.Request)
func (*HttpServer) NewAsset ¶
func (h *HttpServer) NewAsset(w http.ResponseWriter, r *http.Request)
func (*HttpServer) RpcSettings ¶
func (h *HttpServer) RpcSettings(w http.ResponseWriter, r *http.Request)
func (*HttpServer) Run ¶
func (h *HttpServer) Run() error
func (*HttpServer) SyncStatus ¶
func (h *HttpServer) SyncStatus(w http.ResponseWriter, r *http.Request)
func (*HttpServer) TransferAsset ¶
func (h *HttpServer) TransferAsset(w http.ResponseWriter, r *http.Request)
func (*HttpServer) TransferVTC ¶
func (h *HttpServer) TransferVTC(w http.ResponseWriter, r *http.Request, params TransferAssetParameters)
func (*HttpServer) TransferVTCStealth ¶
func (h *HttpServer) TransferVTCStealth(w http.ResponseWriter, r *http.Request, params TransferAssetParameters)
func (*HttpServer) UnfollowAsset ¶
func (h *HttpServer) UnfollowAsset(w http.ResponseWriter, r *http.Request)
type NetworkResponse ¶
type NetworkResponse struct {
NetworkName string
}
type NewAssetParameters ¶
type NewAssetResult ¶
type NewAssetResult struct {
TxID string
}
type RpcSettingsResponse ¶
type TransferAssetParameters ¶
type TransferAssetResult ¶
type TransferAssetResult struct {
TxID string
}
Click to show internal directories.
Click to hide internal directories.