Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDResponse ¶
type IDResponse struct {
Address string `json:"hcnet_address"`
}
IDResponse represents the result of a federation request for `id` request.
type Memo ¶
type Memo struct {
Value string
}
Memo value can be either integer or string in JSON. This struct allows marshaling and unmarshaling both types.
func (Memo) MarshalJSON ¶
func (*Memo) UnmarshalJSON ¶
type NameResponse ¶
type NameResponse struct { AccountID string `json:"account_id"` MemoType string `json:"memo_type,omitempty"` Memo Memo `json:"memo,omitempty"` }
NameResponse represents the result of a federation request for `name` and `forward` requests.
Click to show internal directories.
Click to hide internal directories.