Documentation ¶
Index ¶
- type AccountCreated
- type AccountCredited
- type AccountDebited
- type AccountFlagsUpdated
- type AccountHomeDomainUpdated
- type AccountThresholdsUpdated
- type Base
- type SequenceBumped
- type SignerCreated
- type SignerRemoved
- type SignerUpdated
- type Trade
- type TrustlineAuthorized
- type TrustlineCreated
- type TrustlineDeauthorized
- type TrustlineRemoved
- type TrustlineUpdated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountCreated ¶
type AccountCredited ¶
type AccountFlagsUpdated ¶
type Base ¶
type Base struct { Links struct { Operation hal.Link `json:"operation"` Succeeds hal.Link `json:"succeeds"` Precedes hal.Link `json:"precedes"` } `json:"_links"` ID string `json:"id"` PT string `json:"paging_token"` Account string `json:"account"` Type string `json:"type"` TypeI int32 `json:"type_i"` LedgerCloseTime time.Time `json:"created_at"` }
Base provides the common structure for any effect resource effect.
func (Base) PagingToken ¶
PagingToken implements `hal.Pageable`
type SequenceBumped ¶
type SignerCreated ¶
type SignerCreated struct { Base Weight int32 `json:"weight"` PublicKey string `json:"public_key"` Key string `json:"key"` }
func (*SignerCreated) Rehydrate ¶
func (sc *SignerCreated) Rehydrate() error
Rehydrate implements base.Rehydratable interface
type SignerRemoved ¶
type SignerRemoved struct { Base Weight int32 `json:"weight"` PublicKey string `json:"public_key"` Key string `json:"key"` }
func (*SignerRemoved) Rehydrate ¶
func (sr *SignerRemoved) Rehydrate() error
Rehydrate implements base.Rehydratable interface
type SignerUpdated ¶
type SignerUpdated struct { Base Weight int32 `json:"weight"` PublicKey string `json:"public_key"` Key string `json:"key"` }
func (*SignerUpdated) Rehydrate ¶
func (su *SignerUpdated) Rehydrate() error
Rehydrate implements base.Rehydratable interface
type Trade ¶
type Trade struct { Base Seller string `json:"seller"` OfferID int64 `json:"offer_id"` SoldAmount string `json:"sold_amount"` SoldAssetType string `json:"sold_asset_type"` SoldAssetCode string `json:"sold_asset_code,omitempty"` SoldAssetIssuer string `json:"sold_asset_issuer,omitempty"` BoughtAmount string `json:"bought_amount"` BoughtAssetType string `json:"bought_asset_type"` BoughtAssetCode string `json:"bought_asset_code,omitempty"` BoughtAssetIssuer string `json:"bought_asset_issuer,omitempty"` }
type TrustlineAuthorized ¶
type TrustlineCreated ¶
type TrustlineDeauthorized ¶
type TrustlineDeauthorized struct {}
type TrustlineRemoved ¶
Click to show internal directories.
Click to hide internal directories.