response

package
v0.0.0-...-649a59b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AuthCodeInfo

type AuthCodeInfo struct {
	RandomToken string `json:"randomToken"`
	ImageBase64 string `json:"imageBase64"`
}

func (*AuthCodeInfo) ToString

func (a *AuthCodeInfo) ToString() string

type AuthCodeReceipt

type AuthCodeReceipt struct {
	ErrorCode common.ErrorCode `json:"errorCode"`
	Message   string           `json:"message"`
	AuthCode  *AuthCodeInfo    `json:"authCode"`
}

func (*AuthCodeReceipt) ParseSelfFromJson

func (a *AuthCodeReceipt) ParseSelfFromJson(valueBytes []byte)

func (*AuthCodeReceipt) ToString

func (a *AuthCodeReceipt) ToString() string

type NullResponse

type NullResponse struct {
}

func (*NullResponse) ToString

func (nr *NullResponse) ToString() string

type Pub

type Pub struct {
	Pub string `json:"pub"`
}

func (*Pub) ParseSelfFromJson

func (p *Pub) ParseSelfFromJson(valueBytes []byte)

func (*Pub) ToString

func (p *Pub) ToString() string

type RawXAResponse

type RawXAResponse struct {
	Status             common.StatusCode         `json:"status"`
	ChainErrorMessages []*eles.ChainErrorMessage `json:"chainErrorMessages"`
}

func (*RawXAResponse) ParseSelfFromJson

func (rxar *RawXAResponse) ParseSelfFromJson(valueBytes []byte)

func (*RawXAResponse) ToString

func (rxar *RawXAResponse) ToString() string

type RawXATransactionListResponse

type RawXATransactionListResponse struct {
	XaList      []*xa.XA       `json:"xaList"`
	NextOffsets map[string]int `json:"nextOffsets"`
	Finished    bool           `json:"finished"`
}

func (*RawXATransactionListResponse) ParseSelfFromJson

func (rx *RawXATransactionListResponse) ParseSelfFromJson(valueBytes []byte)

func (*RawXATransactionListResponse) ToString

func (rx *RawXATransactionListResponse) ToString() string

type RawXATransactionResponse

type RawXATransactionResponse struct {
	XaResponse    *RawXAResponse    `json:"xaResponse"`
	XaTransaction *xa.XATransaction `json:"xaTransaction"`
}

func (*RawXATransactionResponse) ParseSelfFromJson

func (xatp *RawXATransactionResponse) ParseSelfFromJson(valueBytes []byte)

func (*RawXATransactionResponse) ToString

func (xatp *RawXATransactionResponse) ToString() string

type ResponseType

type ResponseType string
const (
	CommonResponse            ResponseType = "CommonResponse"
	StubResponse              ResponseType = "StubResponse"
	PubResponse               ResponseType = "PubResponse"
	AuthCodeResponse          ResponseType = "AuthCodeResponse"
	AccountResponse           ResponseType = "AccountResponse"
	ResourceResponse          ResponseType = "ResourceResponse"
	ResourceDetailResponse    ResponseType = "ResourceDetailResponse"
	TransactionResponse       ResponseType = "TransactionResponse"
	CommandResponse           ResponseType = "CommandResponse"
	XATransactionListResponse ResponseType = "XATransactionListResponse"
	UAResponse                ResponseType = "UAResponse"
	XAResponse                ResponseType = "XAResponse"
	XATransactionResponse     ResponseType = "XATransactionResponse"
)

type StringResponse

type StringResponse string

func (*StringResponse) ParseSelfFromJson

func (s *StringResponse) ParseSelfFromJson(valueBytes []byte)

func (*StringResponse) ToString

func (s *StringResponse) ToString() string

type Stubs

type Stubs struct {
	StubTypes []string `json:"stubTypes"`
}

func (*Stubs) ParseSelfFromJson

func (s *Stubs) ParseSelfFromJson(valueBytes []byte)

func (*Stubs) ToString

func (s *Stubs) ToString() string

type TXReceipt

type TXReceipt struct {
	ErrorCode   common.ErrorCode `json:"errorCode"`
	Message     string           `json:"message"`
	Hash        string           `json:"hash"`
	ExtraHashes []string         `json:"extraHashes"`
	BlockNumber int              `json:"blockNumber"`
	Result      []string         `json:"result"`
}

func (*TXReceipt) ParseSelfFromJson

func (tr *TXReceipt) ParseSelfFromJson(valueBytes []byte)

func (*TXReceipt) ToString

func (tr *TXReceipt) ToString() string

type UAReceipt

type UAReceipt struct {
	ErrorCode        common.ErrorCode          `json:"errorCode"`
	Message          string                    `json:"message"`
	Credential       string                    `json:"credential"`
	UniversalAccount *account.UniversalAccount `json:"universalAccount"`
}

func (*UAReceipt) ParseSelfFromJson

func (ur *UAReceipt) ParseSelfFromJson(valueBytes []byte)

func (*UAReceipt) ToString

func (ur *UAReceipt) ToString() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL