Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ack ¶
type Ack struct { // message Message string `json:"message,omitempty"` // status Status string `json:"status,omitempty"` }
Ack ack
swagger:model Ack
func (*Ack) ContextValidate ¶
ContextValidate validates this ack based on context it is used
func (*Ack) MarshalBinary ¶
MarshalBinary interface implementation
func (*Ack) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Error ¶
type Error struct { // code // Required: true Code *int32 `json:"code"` // fields Fields string `json:"fields,omitempty"` // message // Required: true Message *string `json:"message"` }
Error error
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GatewayRegister ¶
type GatewayRegister struct { // Filecoin Account to be used with payment channels. Address string `json:"address,omitempty"` // Admin network addressing information. NetworkInfoAdmin string `json:"networkInfoAdmin,omitempty"` // Client network addressing information. NetworkInfoClient string `json:"networkInfoClient,omitempty"` // Gateway network addressing information. NetworkInfoGateway string `json:"networkInfoGateway,omitempty"` // Provider network addressing information. NetworkInfoProvider string `json:"networkInfoProvider,omitempty"` // Node ID. NodeID string `json:"nodeId,omitempty"` // Region Code. RegionCode string `json:"regionCode,omitempty"` // Retrieval provider Root Signing Public Key. RootSigningKey string `json:"rootSigningKey,omitempty"` // Used for signing CID Group Offers and Single CID Offers. SigningKey string `json:"signingKey,omitempty"` }
GatewayRegister Register entry
swagger:model GatewayRegister
func (*GatewayRegister) ContextValidate ¶
ContextValidate validates this gateway register based on context it is used
func (*GatewayRegister) MarshalBinary ¶
func (m *GatewayRegister) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GatewayRegister) UnmarshalBinary ¶
func (m *GatewayRegister) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Principal ¶
type Principal string
Principal principal
swagger:model Principal
func (Principal) ContextValidate ¶
ContextValidate validates this principal based on context it is used
type ProviderRegister ¶
type ProviderRegister struct { // Filecoin Account to be used with payment channels. Address string `json:"address,omitempty"` // Admin network addressing information. NetworkInfoAdmin string `json:"networkInfoAdmin,omitempty"` // Client network addressing information. NetworkInfoClient string `json:"networkInfoClient,omitempty"` // Gateway network addressing information. NetworkInfoGateway string `json:"networkInfoGateway,omitempty"` // Node ID. NodeID string `json:"nodeId,omitempty"` // Region Code. RegionCode string `json:"regionCode,omitempty"` // Retrieval provider Root Signing Public Key. RootSigningKey string `json:"rootSigningKey,omitempty"` // Used for signing CID Group Offers and Single CID Offers. SigningKey string `json:"signingKey,omitempty"` }
ProviderRegister Register entry
swagger:model ProviderRegister
func (*ProviderRegister) ContextValidate ¶
ContextValidate validates this provider register based on context it is used
func (*ProviderRegister) MarshalBinary ¶
func (m *ProviderRegister) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProviderRegister) UnmarshalBinary ¶
func (m *ProviderRegister) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation