go: github.com/stellar/go/protocols/federation Index | Files

package federation

import "github.com/stellar/go/protocols/federation"


Package Files


type IDResponse Uses

type IDResponse struct {
    Address string `json:"stellar_address"`

IDResponse represents the result of a federation request for `id` request.

type Memo Uses

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 Uses

func (m Memo) MarshalJSON() ([]byte, error)

func (*Memo) String Uses

func (m *Memo) String() string

func (*Memo) UnmarshalJSON Uses

func (m *Memo) UnmarshalJSON(value []byte) error

type NameResponse Uses

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.

Package federation imports 2 packages (graph) and is imported by 16 packages. Updated 2017-11-21. Refresh now. Tools for package owners.