Documentation
¶
Index ¶
- type ProtobufAny
- func (m *ProtobufAny) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProtobufAny) MarshalBinary() ([]byte, error)
- func (m ProtobufAny) MarshalJSON() ([]byte, error)
- func (m *ProtobufAny) UnmarshalBinary(b []byte) error
- func (m *ProtobufAny) UnmarshalJSON(data []byte) error
- func (m *ProtobufAny) Validate(formats strfmt.Registry) error
- type ProtocolBlockResponse
- type ProtocolForwardTransactionResponse
- type ProtocolManageEntityLegacy
- func (m *ProtocolManageEntityLegacy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProtocolManageEntityLegacy) MarshalBinary() ([]byte, error)
- func (m *ProtocolManageEntityLegacy) UnmarshalBinary(b []byte) error
- func (m *ProtocolManageEntityLegacy) Validate(formats strfmt.Registry) error
- type ProtocolNodeInfoResponse
- func (m *ProtocolNodeInfoResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProtocolNodeInfoResponse) MarshalBinary() ([]byte, error)
- func (m *ProtocolNodeInfoResponse) UnmarshalBinary(b []byte) error
- func (m *ProtocolNodeInfoResponse) Validate(formats strfmt.Registry) error
- type ProtocolPingResponse
- type ProtocolSLANodeReport
- type ProtocolSLARollup
- type ProtocolSignedTransaction
- func (m *ProtocolSignedTransaction) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProtocolSignedTransaction) MarshalBinary() ([]byte, error)
- func (m *ProtocolSignedTransaction) UnmarshalBinary(b []byte) error
- func (m *ProtocolSignedTransaction) Validate(formats strfmt.Registry) error
- type ProtocolTrackPlay
- type ProtocolTrackPlays
- type ProtocolTransactionResponse
- func (m *ProtocolTransactionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProtocolTransactionResponse) MarshalBinary() ([]byte, error)
- func (m *ProtocolTransactionResponse) UnmarshalBinary(b []byte) error
- func (m *ProtocolTransactionResponse) Validate(formats strfmt.Registry) error
- type ProtocolValidatorRegistration
- func (m *ProtocolValidatorRegistration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProtocolValidatorRegistration) MarshalBinary() ([]byte, error)
- func (m *ProtocolValidatorRegistration) UnmarshalBinary(b []byte) error
- func (m *ProtocolValidatorRegistration) Validate(formats strfmt.Registry) error
- type RPCStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProtobufAny ¶
type ProtobufAny struct {
// at type
AtType string `json:"@type,omitempty"`
// protobuf any
ProtobufAny map[string]interface{} `json:"-"`
}
ProtobufAny protobuf any
swagger:model protobufAny
func (*ProtobufAny) ContextValidate ¶
ContextValidate validates this protobuf any based on context it is used
func (*ProtobufAny) MarshalBinary ¶
func (m *ProtobufAny) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ProtobufAny) MarshalJSON ¶
func (m ProtobufAny) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with additional properties into a JSON object
func (*ProtobufAny) UnmarshalBinary ¶
func (m *ProtobufAny) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ProtobufAny) UnmarshalJSON ¶
func (m *ProtobufAny) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object with additional properties from JSON
type ProtocolBlockResponse ¶
type ProtocolBlockResponse struct {
// blockhash
Blockhash string `json:"blockhash,omitempty"`
// chainid
Chainid string `json:"chainid,omitempty"`
// height
Height string `json:"height,omitempty"`
// proposer
Proposer string `json:"proposer,omitempty"`
// transactions
Transactions []*ProtocolSignedTransaction `json:"transactions"`
}
ProtocolBlockResponse protocol block response
swagger:model protocolBlockResponse
func (*ProtocolBlockResponse) ContextValidate ¶
ContextValidate validate this protocol block response based on the context it is used
func (*ProtocolBlockResponse) MarshalBinary ¶
func (m *ProtocolBlockResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtocolBlockResponse) UnmarshalBinary ¶
func (m *ProtocolBlockResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtocolForwardTransactionResponse ¶
type ProtocolForwardTransactionResponse interface{}
ProtocolForwardTransactionResponse protocol forward transaction response
swagger:model protocolForwardTransactionResponse
type ProtocolManageEntityLegacy ¶
type ProtocolManageEntityLegacy struct {
// action
Action string `json:"action,omitempty"`
// entity Id
EntityID string `json:"entityId,omitempty"`
// entity type
EntityType string `json:"entityType,omitempty"`
// metadata
Metadata string `json:"metadata,omitempty"`
// signature
Signature string `json:"signature,omitempty"`
// user Id
UserID string `json:"userId,omitempty"`
}
ProtocolManageEntityLegacy protocol manage entity legacy
swagger:model protocolManageEntityLegacy
func (*ProtocolManageEntityLegacy) ContextValidate ¶
func (m *ProtocolManageEntityLegacy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this protocol manage entity legacy based on context it is used
func (*ProtocolManageEntityLegacy) MarshalBinary ¶
func (m *ProtocolManageEntityLegacy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtocolManageEntityLegacy) UnmarshalBinary ¶
func (m *ProtocolManageEntityLegacy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtocolNodeInfoResponse ¶
type ProtocolNodeInfoResponse struct {
// chainid
Chainid string `json:"chainid,omitempty"`
// comet address
CometAddress string `json:"cometAddress,omitempty"`
// current height
CurrentHeight string `json:"currentHeight,omitempty"`
// eth address
EthAddress string `json:"ethAddress,omitempty"`
// synced
Synced bool `json:"synced,omitempty"`
}
ProtocolNodeInfoResponse protocol node info response
swagger:model protocolNodeInfoResponse
func (*ProtocolNodeInfoResponse) ContextValidate ¶
func (m *ProtocolNodeInfoResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this protocol node info response based on context it is used
func (*ProtocolNodeInfoResponse) MarshalBinary ¶
func (m *ProtocolNodeInfoResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtocolNodeInfoResponse) UnmarshalBinary ¶
func (m *ProtocolNodeInfoResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtocolPingResponse ¶
type ProtocolPingResponse struct {
// message
Message string `json:"message,omitempty"`
}
ProtocolPingResponse protocol ping response
swagger:model protocolPingResponse
func (*ProtocolPingResponse) ContextValidate ¶
ContextValidate validates this protocol ping response based on context it is used
func (*ProtocolPingResponse) MarshalBinary ¶
func (m *ProtocolPingResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtocolPingResponse) UnmarshalBinary ¶
func (m *ProtocolPingResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtocolSLANodeReport ¶
type ProtocolSLANodeReport struct {
// address
Address string `json:"address,omitempty"`
// num blocks proposed
NumBlocksProposed int32 `json:"numBlocksProposed,omitempty"`
}
ProtocolSLANodeReport protocol Sla node report
swagger:model protocolSlaNodeReport
func (*ProtocolSLANodeReport) ContextValidate ¶
ContextValidate validates this protocol Sla node report based on context it is used
func (*ProtocolSLANodeReport) MarshalBinary ¶
func (m *ProtocolSLANodeReport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtocolSLANodeReport) UnmarshalBinary ¶
func (m *ProtocolSLANodeReport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtocolSLARollup ¶
type ProtocolSLARollup struct {
// block end
BlockEnd string `json:"blockEnd,omitempty"`
// block start
BlockStart string `json:"blockStart,omitempty"`
// reports
Reports []*ProtocolSLANodeReport `json:"reports"`
// timestamp
// Format: date-time
Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
}
ProtocolSLARollup protocol Sla rollup
swagger:model protocolSlaRollup
func (*ProtocolSLARollup) ContextValidate ¶
ContextValidate validate this protocol Sla rollup based on the context it is used
func (*ProtocolSLARollup) MarshalBinary ¶
func (m *ProtocolSLARollup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtocolSLARollup) UnmarshalBinary ¶
func (m *ProtocolSLARollup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtocolSignedTransaction ¶
type ProtocolSignedTransaction struct {
// manage entity
ManageEntity *ProtocolManageEntityLegacy `json:"manageEntity,omitempty"`
// plays
Plays *ProtocolTrackPlays `json:"plays,omitempty"`
// request Id
RequestID string `json:"requestId,omitempty"`
// signature
Signature string `json:"signature,omitempty"`
// sla rollup
SLARollup *ProtocolSLARollup `json:"slaRollup,omitempty"`
// validator registration
ValidatorRegistration *ProtocolValidatorRegistration `json:"validatorRegistration,omitempty"`
}
ProtocolSignedTransaction protocol signed transaction
swagger:model protocolSignedTransaction
func (*ProtocolSignedTransaction) ContextValidate ¶
func (m *ProtocolSignedTransaction) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this protocol signed transaction based on the context it is used
func (*ProtocolSignedTransaction) MarshalBinary ¶
func (m *ProtocolSignedTransaction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtocolSignedTransaction) UnmarshalBinary ¶
func (m *ProtocolSignedTransaction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtocolTrackPlay ¶
type ProtocolTrackPlay struct {
// signature
Signature string `json:"signature,omitempty"`
// timestamp
// Format: date-time
Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
// track Id
TrackID string `json:"trackId,omitempty"`
// user Id
UserID string `json:"userId,omitempty"`
}
ProtocolTrackPlay protocol track play
swagger:model protocolTrackPlay
func (*ProtocolTrackPlay) ContextValidate ¶
ContextValidate validates this protocol track play based on context it is used
func (*ProtocolTrackPlay) MarshalBinary ¶
func (m *ProtocolTrackPlay) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtocolTrackPlay) UnmarshalBinary ¶
func (m *ProtocolTrackPlay) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtocolTrackPlays ¶
type ProtocolTrackPlays struct {
// plays
Plays []*ProtocolTrackPlay `json:"plays"`
}
ProtocolTrackPlays protocol track plays
swagger:model protocolTrackPlays
func (*ProtocolTrackPlays) ContextValidate ¶
ContextValidate validate this protocol track plays based on the context it is used
func (*ProtocolTrackPlays) MarshalBinary ¶
func (m *ProtocolTrackPlays) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtocolTrackPlays) UnmarshalBinary ¶
func (m *ProtocolTrackPlays) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtocolTransactionResponse ¶
type ProtocolTransactionResponse struct {
// transaction
Transaction *ProtocolSignedTransaction `json:"transaction,omitempty"`
// txhash
Txhash string `json:"txhash,omitempty"`
}
ProtocolTransactionResponse protocol transaction response
swagger:model protocolTransactionResponse
func (*ProtocolTransactionResponse) ContextValidate ¶
func (m *ProtocolTransactionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this protocol transaction response based on the context it is used
func (*ProtocolTransactionResponse) MarshalBinary ¶
func (m *ProtocolTransactionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtocolTransactionResponse) UnmarshalBinary ¶
func (m *ProtocolTransactionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtocolValidatorRegistration ¶
type ProtocolValidatorRegistration struct {
// comet address
CometAddress string `json:"cometAddress,omitempty"`
// endpoint
Endpoint string `json:"endpoint,omitempty"`
// eth block
EthBlock string `json:"ethBlock,omitempty"`
// node type
NodeType string `json:"nodeType,omitempty"`
// sp Id
SpID string `json:"spId,omitempty"`
}
ProtocolValidatorRegistration protocol validator registration
swagger:model protocolValidatorRegistration
func (*ProtocolValidatorRegistration) ContextValidate ¶
func (m *ProtocolValidatorRegistration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this protocol validator registration based on context it is used
func (*ProtocolValidatorRegistration) MarshalBinary ¶
func (m *ProtocolValidatorRegistration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtocolValidatorRegistration) UnmarshalBinary ¶
func (m *ProtocolValidatorRegistration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RPCStatus ¶
type RPCStatus struct {
// code
Code int32 `json:"code,omitempty"`
// details
Details []*ProtobufAny `json:"details"`
// message
Message string `json:"message,omitempty"`
}
RPCStatus rpc status
swagger:model rpcStatus
func (*RPCStatus) ContextValidate ¶
ContextValidate validate this rpc status based on the context it is used
func (*RPCStatus) MarshalBinary ¶
MarshalBinary interface implementation
func (*RPCStatus) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Source Files
¶
- protobuf_any.go
- protocol_block_response.go
- protocol_forward_transaction_response.go
- protocol_manage_entity_legacy.go
- protocol_node_info_response.go
- protocol_ping_response.go
- protocol_signed_transaction.go
- protocol_sla_node_report.go
- protocol_sla_rollup.go
- protocol_track_play.go
- protocol_track_plays.go
- protocol_transaction_response.go
- protocol_validator_registration.go
- rpc_status.go