Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccountResponse ¶
type ErrorResponse ¶
func ListAccounts ¶
func ListAccounts(w http.ResponseWriter, r *http.Request) *ErrorResponse
Getting list accounts of wallet by coin
func NewAccount ¶
func NewAccount(w http.ResponseWriter, r *http.Request) *ErrorResponse
Creating a new account
func NewAddress ¶
func NewAddress(w http.ResponseWriter, r *http.Request) *ErrorResponse
Generating a new address
func NewWallet ¶
func NewWallet(w http.ResponseWriter, r *http.Request) *ErrorResponse
Creating a new wallet
type ListAccountResponse ¶
type ListAccountResponse []AccountResponse
type NewAccountResponse ¶
type NewAccountResponse struct {
AccountResponse
Coin string `json:"coin"`
}
Click to show internal directories.
Click to hide internal directories.