Documentation
¶
Index ¶
- Variables
- type ConsumerInfo
- func (*ConsumerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ConsumerInfo) GetHermesID() string
- func (x *ConsumerInfo) GetId() string
- func (x *ConsumerInfo) GetLocation() *LocationInfo
- func (x *ConsumerInfo) GetPaymentVersion() string
- func (x *ConsumerInfo) GetPricing() *Pricing
- func (*ConsumerInfo) ProtoMessage()
- func (x *ConsumerInfo) ProtoReflect() protoreflect.Message
- func (x *ConsumerInfo) Reset()
- func (x *ConsumerInfo) String() string
- type ExchangeMessage
- func (*ExchangeMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeMessage) GetAgreementID() string
- func (x *ExchangeMessage) GetAgreementTotal() string
- func (x *ExchangeMessage) GetChainID() int64
- func (x *ExchangeMessage) GetHermesID() string
- func (x *ExchangeMessage) GetPromise() *Promise
- func (x *ExchangeMessage) GetProvider() string
- func (x *ExchangeMessage) GetSignature() string
- func (*ExchangeMessage) ProtoMessage()
- func (x *ExchangeMessage) ProtoReflect() protoreflect.Message
- func (x *ExchangeMessage) Reset()
- func (x *ExchangeMessage) String() string
- type Invoice
- func (*Invoice) Descriptor() ([]byte, []int)deprecated
- func (x *Invoice) GetAgreementID() string
- func (x *Invoice) GetAgreementTotal() string
- func (x *Invoice) GetChainID() int64
- func (x *Invoice) GetHashlock() string
- func (x *Invoice) GetProvider() string
- func (x *Invoice) GetTransactorFee() string
- func (*Invoice) ProtoMessage()
- func (x *Invoice) ProtoReflect() protoreflect.Message
- func (x *Invoice) Reset()
- func (x *Invoice) String() string
- type LocationInfo
- type P2PChannelEnvelope
- func (*P2PChannelEnvelope) Descriptor() ([]byte, []int)deprecated
- func (x *P2PChannelEnvelope) GetData() []byte
- func (x *P2PChannelEnvelope) GetID() uint64
- func (x *P2PChannelEnvelope) GetMsg() string
- func (x *P2PChannelEnvelope) GetStatusCode() uint64
- func (x *P2PChannelEnvelope) GetTopic() string
- func (*P2PChannelEnvelope) ProtoMessage()
- func (x *P2PChannelEnvelope) ProtoReflect() protoreflect.Message
- func (x *P2PChannelEnvelope) Reset()
- func (x *P2PChannelEnvelope) String() string
- type P2PChannelHandlersReady
- func (*P2PChannelHandlersReady) Descriptor() ([]byte, []int)deprecated
- func (x *P2PChannelHandlersReady) GetValue() string
- func (*P2PChannelHandlersReady) ProtoMessage()
- func (x *P2PChannelHandlersReady) ProtoReflect() protoreflect.Message
- func (x *P2PChannelHandlersReady) Reset()
- func (x *P2PChannelHandlersReady) String() string
- type P2PConfigExchangeMsg
- func (*P2PConfigExchangeMsg) Descriptor() ([]byte, []int)deprecated
- func (x *P2PConfigExchangeMsg) GetConfigCiphertext() []byte
- func (x *P2PConfigExchangeMsg) GetPublicKey() string
- func (*P2PConfigExchangeMsg) ProtoMessage()
- func (x *P2PConfigExchangeMsg) ProtoReflect() protoreflect.Message
- func (x *P2PConfigExchangeMsg) Reset()
- func (x *P2PConfigExchangeMsg) String() string
- type P2PConnectConfig
- func (*P2PConnectConfig) Descriptor() ([]byte, []int)deprecated
- func (x *P2PConnectConfig) GetCompatibility() int32
- func (x *P2PConnectConfig) GetPorts() []int32
- func (x *P2PConnectConfig) GetPublicIP() string
- func (*P2PConnectConfig) ProtoMessage()
- func (x *P2PConnectConfig) ProtoReflect() protoreflect.Message
- func (x *P2PConnectConfig) Reset()
- func (x *P2PConnectConfig) String() string
- type P2PKeepAlivePing
- type P2PSignedMsg
- func (*P2PSignedMsg) Descriptor() ([]byte, []int)deprecated
- func (x *P2PSignedMsg) GetData() []byte
- func (x *P2PSignedMsg) GetSignature() []byte
- func (*P2PSignedMsg) ProtoMessage()
- func (x *P2PSignedMsg) ProtoReflect() protoreflect.Message
- func (x *P2PSignedMsg) Reset()
- func (x *P2PSignedMsg) String() string
- type PingPong
- type Pricing
- type Promise
- func (*Promise) Descriptor() ([]byte, []int)deprecated
- func (x *Promise) GetAmount() string
- func (x *Promise) GetChainID() int64
- func (x *Promise) GetChannelID() []byte
- func (x *Promise) GetFee() string
- func (x *Promise) GetHashlock() []byte
- func (x *Promise) GetR() []byte
- func (x *Promise) GetSignature() []byte
- func (*Promise) ProtoMessage()
- func (x *Promise) ProtoReflect() protoreflect.Message
- func (x *Promise) Reset()
- func (x *Promise) String() string
- type SessionInfo
- func (*SessionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SessionInfo) GetConsumerID() string
- func (x *SessionInfo) GetSessionID() string
- func (*SessionInfo) ProtoMessage()
- func (x *SessionInfo) ProtoReflect() protoreflect.Message
- func (x *SessionInfo) Reset()
- func (x *SessionInfo) String() string
- type SessionRequest
- func (*SessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SessionRequest) GetConfig() []byte
- func (x *SessionRequest) GetConsumer() *ConsumerInfo
- func (x *SessionRequest) GetProposalID() int64
- func (*SessionRequest) ProtoMessage()
- func (x *SessionRequest) ProtoReflect() protoreflect.Message
- func (x *SessionRequest) Reset()
- func (x *SessionRequest) String() string
- type SessionResponse
- func (*SessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SessionResponse) GetConfig() []byte
- func (x *SessionResponse) GetID() string
- func (x *SessionResponse) GetPaymentInfo() string
- func (*SessionResponse) ProtoMessage()
- func (x *SessionResponse) ProtoReflect() protoreflect.Message
- func (x *SessionResponse) Reset()
- func (x *SessionResponse) String() string
- type SessionStatus
- func (*SessionStatus) Descriptor() ([]byte, []int)deprecated
- func (x *SessionStatus) GetCode() uint32
- func (x *SessionStatus) GetConsumerID() string
- func (x *SessionStatus) GetMessage() string
- func (x *SessionStatus) GetSessionID() string
- func (*SessionStatus) ProtoMessage()
- func (x *SessionStatus) ProtoReflect() protoreflect.Message
- func (x *SessionStatus) Reset()
- func (x *SessionStatus) String() string
Constants ¶
This section is empty.
Variables ¶
var File_pb_p2p_proto protoreflect.FileDescriptor
var File_pb_payment_proto protoreflect.FileDescriptor
var File_pb_ping_proto protoreflect.FileDescriptor
var File_pb_session_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ConsumerInfo ¶
type ConsumerInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` HermesID string `protobuf:"bytes,2,opt,name=hermesID,proto3" json:"hermesID,omitempty"` PaymentVersion string `protobuf:"bytes,3,opt,name=paymentVersion,proto3" json:"paymentVersion,omitempty"` Location *LocationInfo `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` Pricing *Pricing `protobuf:"bytes,5,opt,name=pricing,proto3" json:"pricing,omitempty"` // contains filtered or unexported fields }
func (*ConsumerInfo) Descriptor
deprecated
func (*ConsumerInfo) Descriptor() ([]byte, []int)
Deprecated: Use ConsumerInfo.ProtoReflect.Descriptor instead.
func (*ConsumerInfo) GetHermesID ¶
func (x *ConsumerInfo) GetHermesID() string
func (*ConsumerInfo) GetId ¶
func (x *ConsumerInfo) GetId() string
func (*ConsumerInfo) GetLocation ¶
func (x *ConsumerInfo) GetLocation() *LocationInfo
func (*ConsumerInfo) GetPaymentVersion ¶
func (x *ConsumerInfo) GetPaymentVersion() string
func (*ConsumerInfo) GetPricing ¶
func (x *ConsumerInfo) GetPricing() *Pricing
func (*ConsumerInfo) ProtoMessage ¶
func (*ConsumerInfo) ProtoMessage()
func (*ConsumerInfo) ProtoReflect ¶
func (x *ConsumerInfo) ProtoReflect() protoreflect.Message
func (*ConsumerInfo) Reset ¶
func (x *ConsumerInfo) Reset()
func (*ConsumerInfo) String ¶
func (x *ConsumerInfo) String() string
type ExchangeMessage ¶
type ExchangeMessage struct { Promise *Promise `protobuf:"bytes,1,opt,name=Promise,proto3" json:"Promise,omitempty"` AgreementID string `protobuf:"bytes,2,opt,name=AgreementID,proto3" json:"AgreementID,omitempty"` AgreementTotal string `protobuf:"bytes,3,opt,name=AgreementTotal,proto3" json:"AgreementTotal,omitempty"` Provider string `protobuf:"bytes,4,opt,name=Provider,proto3" json:"Provider,omitempty"` Signature string `protobuf:"bytes,5,opt,name=Signature,proto3" json:"Signature,omitempty"` HermesID string `protobuf:"bytes,6,opt,name=HermesID,proto3" json:"HermesID,omitempty"` ChainID int64 `protobuf:"varint,7,opt,name=ChainID,proto3" json:"ChainID,omitempty"` // contains filtered or unexported fields }
func (*ExchangeMessage) Descriptor
deprecated
func (*ExchangeMessage) Descriptor() ([]byte, []int)
Deprecated: Use ExchangeMessage.ProtoReflect.Descriptor instead.
func (*ExchangeMessage) GetAgreementID ¶
func (x *ExchangeMessage) GetAgreementID() string
func (*ExchangeMessage) GetAgreementTotal ¶
func (x *ExchangeMessage) GetAgreementTotal() string
func (*ExchangeMessage) GetChainID ¶
func (x *ExchangeMessage) GetChainID() int64
func (*ExchangeMessage) GetHermesID ¶
func (x *ExchangeMessage) GetHermesID() string
func (*ExchangeMessage) GetPromise ¶
func (x *ExchangeMessage) GetPromise() *Promise
func (*ExchangeMessage) GetProvider ¶
func (x *ExchangeMessage) GetProvider() string
func (*ExchangeMessage) GetSignature ¶
func (x *ExchangeMessage) GetSignature() string
func (*ExchangeMessage) ProtoMessage ¶
func (*ExchangeMessage) ProtoMessage()
func (*ExchangeMessage) ProtoReflect ¶
func (x *ExchangeMessage) ProtoReflect() protoreflect.Message
func (*ExchangeMessage) Reset ¶
func (x *ExchangeMessage) Reset()
func (*ExchangeMessage) String ¶
func (x *ExchangeMessage) String() string
type Invoice ¶
type Invoice struct { AgreementID string `protobuf:"bytes,1,opt,name=AgreementID,proto3" json:"AgreementID,omitempty"` AgreementTotal string `protobuf:"bytes,2,opt,name=AgreementTotal,proto3" json:"AgreementTotal,omitempty"` TransactorFee string `protobuf:"bytes,3,opt,name=TransactorFee,proto3" json:"TransactorFee,omitempty"` Hashlock string `protobuf:"bytes,4,opt,name=Hashlock,proto3" json:"Hashlock,omitempty"` Provider string `protobuf:"bytes,5,opt,name=Provider,proto3" json:"Provider,omitempty"` ChainID int64 `protobuf:"varint,6,opt,name=ChainID,proto3" json:"ChainID,omitempty"` // contains filtered or unexported fields }
func (*Invoice) Descriptor
deprecated
func (*Invoice) GetAgreementID ¶
func (*Invoice) GetAgreementTotal ¶
func (*Invoice) GetChainID ¶
func (*Invoice) GetHashlock ¶
func (*Invoice) GetProvider ¶
func (*Invoice) GetTransactorFee ¶
func (*Invoice) ProtoMessage ¶
func (*Invoice) ProtoMessage()
func (*Invoice) ProtoReflect ¶
func (x *Invoice) ProtoReflect() protoreflect.Message
type LocationInfo ¶
type LocationInfo struct { Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"` // contains filtered or unexported fields }
func (*LocationInfo) Descriptor
deprecated
func (*LocationInfo) Descriptor() ([]byte, []int)
Deprecated: Use LocationInfo.ProtoReflect.Descriptor instead.
func (*LocationInfo) GetCountry ¶
func (x *LocationInfo) GetCountry() string
func (*LocationInfo) ProtoMessage ¶
func (*LocationInfo) ProtoMessage()
func (*LocationInfo) ProtoReflect ¶
func (x *LocationInfo) ProtoReflect() protoreflect.Message
func (*LocationInfo) Reset ¶
func (x *LocationInfo) Reset()
func (*LocationInfo) String ¶
func (x *LocationInfo) String() string
type P2PChannelEnvelope ¶
type P2PChannelEnvelope struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` StatusCode uint64 `protobuf:"varint,2,opt,name=statusCode,proto3" json:"statusCode,omitempty"` Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` Msg string `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"` Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*P2PChannelEnvelope) Descriptor
deprecated
func (*P2PChannelEnvelope) Descriptor() ([]byte, []int)
Deprecated: Use P2PChannelEnvelope.ProtoReflect.Descriptor instead.
func (*P2PChannelEnvelope) GetData ¶
func (x *P2PChannelEnvelope) GetData() []byte
func (*P2PChannelEnvelope) GetID ¶
func (x *P2PChannelEnvelope) GetID() uint64
func (*P2PChannelEnvelope) GetMsg ¶
func (x *P2PChannelEnvelope) GetMsg() string
func (*P2PChannelEnvelope) GetStatusCode ¶
func (x *P2PChannelEnvelope) GetStatusCode() uint64
func (*P2PChannelEnvelope) GetTopic ¶
func (x *P2PChannelEnvelope) GetTopic() string
func (*P2PChannelEnvelope) ProtoMessage ¶
func (*P2PChannelEnvelope) ProtoMessage()
func (*P2PChannelEnvelope) ProtoReflect ¶
func (x *P2PChannelEnvelope) ProtoReflect() protoreflect.Message
func (*P2PChannelEnvelope) Reset ¶
func (x *P2PChannelEnvelope) Reset()
func (*P2PChannelEnvelope) String ¶
func (x *P2PChannelEnvelope) String() string
type P2PChannelHandlersReady ¶
type P2PChannelHandlersReady struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*P2PChannelHandlersReady) Descriptor
deprecated
func (*P2PChannelHandlersReady) Descriptor() ([]byte, []int)
Deprecated: Use P2PChannelHandlersReady.ProtoReflect.Descriptor instead.
func (*P2PChannelHandlersReady) GetValue ¶
func (x *P2PChannelHandlersReady) GetValue() string
func (*P2PChannelHandlersReady) ProtoMessage ¶
func (*P2PChannelHandlersReady) ProtoMessage()
func (*P2PChannelHandlersReady) ProtoReflect ¶
func (x *P2PChannelHandlersReady) ProtoReflect() protoreflect.Message
func (*P2PChannelHandlersReady) Reset ¶
func (x *P2PChannelHandlersReady) Reset()
func (*P2PChannelHandlersReady) String ¶
func (x *P2PChannelHandlersReady) String() string
type P2PConfigExchangeMsg ¶
type P2PConfigExchangeMsg struct { PublicKey string `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"` // Public key field which is send from both provider and consumer. ConfigCiphertext []byte `protobuf:"bytes,2,opt,name=configCiphertext,proto3" json:"configCiphertext,omitempty"` // Encrypted P2PConnectConfig data. // contains filtered or unexported fields }
func (*P2PConfigExchangeMsg) Descriptor
deprecated
func (*P2PConfigExchangeMsg) Descriptor() ([]byte, []int)
Deprecated: Use P2PConfigExchangeMsg.ProtoReflect.Descriptor instead.
func (*P2PConfigExchangeMsg) GetConfigCiphertext ¶
func (x *P2PConfigExchangeMsg) GetConfigCiphertext() []byte
func (*P2PConfigExchangeMsg) GetPublicKey ¶
func (x *P2PConfigExchangeMsg) GetPublicKey() string
func (*P2PConfigExchangeMsg) ProtoMessage ¶
func (*P2PConfigExchangeMsg) ProtoMessage()
func (*P2PConfigExchangeMsg) ProtoReflect ¶
func (x *P2PConfigExchangeMsg) ProtoReflect() protoreflect.Message
func (*P2PConfigExchangeMsg) Reset ¶
func (x *P2PConfigExchangeMsg) Reset()
func (*P2PConfigExchangeMsg) String ¶
func (x *P2PConfigExchangeMsg) String() string
type P2PConnectConfig ¶
type P2PConnectConfig struct { PublicIP string `protobuf:"bytes,1,opt,name=publicIP,proto3" json:"publicIP,omitempty"` Ports []int32 `protobuf:"varint,2,rep,packed,name=ports,proto3" json:"ports,omitempty"` Compatibility int32 `protobuf:"varint,3,opt,name=compatibility,proto3" json:"compatibility,omitempty"` // contains filtered or unexported fields }
func (*P2PConnectConfig) Descriptor
deprecated
func (*P2PConnectConfig) Descriptor() ([]byte, []int)
Deprecated: Use P2PConnectConfig.ProtoReflect.Descriptor instead.
func (*P2PConnectConfig) GetCompatibility ¶
func (x *P2PConnectConfig) GetCompatibility() int32
func (*P2PConnectConfig) GetPorts ¶
func (x *P2PConnectConfig) GetPorts() []int32
func (*P2PConnectConfig) GetPublicIP ¶
func (x *P2PConnectConfig) GetPublicIP() string
func (*P2PConnectConfig) ProtoMessage ¶
func (*P2PConnectConfig) ProtoMessage()
func (*P2PConnectConfig) ProtoReflect ¶
func (x *P2PConnectConfig) ProtoReflect() protoreflect.Message
func (*P2PConnectConfig) Reset ¶
func (x *P2PConnectConfig) Reset()
func (*P2PConnectConfig) String ¶
func (x *P2PConnectConfig) String() string
type P2PKeepAlivePing ¶
type P2PKeepAlivePing struct { SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"` // contains filtered or unexported fields }
func (*P2PKeepAlivePing) Descriptor
deprecated
func (*P2PKeepAlivePing) Descriptor() ([]byte, []int)
Deprecated: Use P2PKeepAlivePing.ProtoReflect.Descriptor instead.
func (*P2PKeepAlivePing) GetSessionID ¶
func (x *P2PKeepAlivePing) GetSessionID() string
func (*P2PKeepAlivePing) ProtoMessage ¶
func (*P2PKeepAlivePing) ProtoMessage()
func (*P2PKeepAlivePing) ProtoReflect ¶
func (x *P2PKeepAlivePing) ProtoReflect() protoreflect.Message
func (*P2PKeepAlivePing) Reset ¶
func (x *P2PKeepAlivePing) Reset()
func (*P2PKeepAlivePing) String ¶
func (x *P2PKeepAlivePing) String() string
type P2PSignedMsg ¶
type P2PSignedMsg struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // Holds data of P2PConfigExchange. Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // Signature of data field. // contains filtered or unexported fields }
func (*P2PSignedMsg) Descriptor
deprecated
func (*P2PSignedMsg) Descriptor() ([]byte, []int)
Deprecated: Use P2PSignedMsg.ProtoReflect.Descriptor instead.
func (*P2PSignedMsg) GetData ¶
func (x *P2PSignedMsg) GetData() []byte
func (*P2PSignedMsg) GetSignature ¶
func (x *P2PSignedMsg) GetSignature() []byte
func (*P2PSignedMsg) ProtoMessage ¶
func (*P2PSignedMsg) ProtoMessage()
func (*P2PSignedMsg) ProtoReflect ¶
func (x *P2PSignedMsg) ProtoReflect() protoreflect.Message
func (*P2PSignedMsg) Reset ¶
func (x *P2PSignedMsg) Reset()
func (*P2PSignedMsg) String ¶
func (x *P2PSignedMsg) String() string
type PingPong ¶
type PingPong struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*PingPong) Descriptor
deprecated
func (*PingPong) ProtoMessage ¶
func (*PingPong) ProtoMessage()
func (*PingPong) ProtoReflect ¶
func (x *PingPong) ProtoReflect() protoreflect.Message
type Pricing ¶
type Pricing struct { PerGib []byte `protobuf:"bytes,1,opt,name=PerGib,proto3" json:"PerGib,omitempty"` PerHour []byte `protobuf:"bytes,2,opt,name=PerHour,proto3" json:"PerHour,omitempty"` // contains filtered or unexported fields }
func (*Pricing) Descriptor
deprecated
func (*Pricing) GetPerHour ¶
func (*Pricing) ProtoMessage ¶
func (*Pricing) ProtoMessage()
func (*Pricing) ProtoReflect ¶
func (x *Pricing) ProtoReflect() protoreflect.Message
type Promise ¶
type Promise struct { ChannelID []byte `protobuf:"bytes,1,opt,name=ChannelID,proto3" json:"ChannelID,omitempty"` Amount string `protobuf:"bytes,2,opt,name=Amount,proto3" json:"Amount,omitempty"` Fee string `protobuf:"bytes,3,opt,name=Fee,proto3" json:"Fee,omitempty"` Hashlock []byte `protobuf:"bytes,4,opt,name=Hashlock,proto3" json:"Hashlock,omitempty"` R []byte `protobuf:"bytes,5,opt,name=R,proto3" json:"R,omitempty"` ChainID int64 `protobuf:"varint,6,opt,name=ChainID,proto3" json:"ChainID,omitempty"` Signature []byte `protobuf:"bytes,7,opt,name=Signature,proto3" json:"Signature,omitempty"` // contains filtered or unexported fields }
func (*Promise) Descriptor
deprecated
func (*Promise) GetChainID ¶
func (*Promise) GetChannelID ¶
func (*Promise) GetHashlock ¶
func (*Promise) GetSignature ¶
func (*Promise) ProtoMessage ¶
func (*Promise) ProtoMessage()
func (*Promise) ProtoReflect ¶
func (x *Promise) ProtoReflect() protoreflect.Message
type SessionInfo ¶
type SessionInfo struct { ConsumerID string `protobuf:"bytes,1,opt,name=consumerID,proto3" json:"consumerID,omitempty"` SessionID string `protobuf:"bytes,2,opt,name=sessionID,proto3" json:"sessionID,omitempty"` // contains filtered or unexported fields }
func (*SessionInfo) Descriptor
deprecated
func (*SessionInfo) Descriptor() ([]byte, []int)
Deprecated: Use SessionInfo.ProtoReflect.Descriptor instead.
func (*SessionInfo) GetConsumerID ¶
func (x *SessionInfo) GetConsumerID() string
func (*SessionInfo) GetSessionID ¶
func (x *SessionInfo) GetSessionID() string
func (*SessionInfo) ProtoMessage ¶
func (*SessionInfo) ProtoMessage()
func (*SessionInfo) ProtoReflect ¶
func (x *SessionInfo) ProtoReflect() protoreflect.Message
func (*SessionInfo) Reset ¶
func (x *SessionInfo) Reset()
func (*SessionInfo) String ¶
func (x *SessionInfo) String() string
type SessionRequest ¶
type SessionRequest struct { Consumer *ConsumerInfo `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"` ProposalID int64 `protobuf:"varint,2,opt,name=proposalID,proto3" json:"proposalID,omitempty"` Config []byte `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*SessionRequest) Descriptor
deprecated
func (*SessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SessionRequest.ProtoReflect.Descriptor instead.
func (*SessionRequest) GetConfig ¶
func (x *SessionRequest) GetConfig() []byte
func (*SessionRequest) GetConsumer ¶
func (x *SessionRequest) GetConsumer() *ConsumerInfo
func (*SessionRequest) GetProposalID ¶
func (x *SessionRequest) GetProposalID() int64
func (*SessionRequest) ProtoMessage ¶
func (*SessionRequest) ProtoMessage()
func (*SessionRequest) ProtoReflect ¶
func (x *SessionRequest) ProtoReflect() protoreflect.Message
func (*SessionRequest) Reset ¶
func (x *SessionRequest) Reset()
func (*SessionRequest) String ¶
func (x *SessionRequest) String() string
type SessionResponse ¶
type SessionResponse struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` PaymentInfo string `protobuf:"bytes,2,opt,name=PaymentInfo,proto3" json:"PaymentInfo,omitempty"` Config []byte `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*SessionResponse) Descriptor
deprecated
func (*SessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SessionResponse.ProtoReflect.Descriptor instead.
func (*SessionResponse) GetConfig ¶
func (x *SessionResponse) GetConfig() []byte
func (*SessionResponse) GetID ¶
func (x *SessionResponse) GetID() string
func (*SessionResponse) GetPaymentInfo ¶
func (x *SessionResponse) GetPaymentInfo() string
func (*SessionResponse) ProtoMessage ¶
func (*SessionResponse) ProtoMessage()
func (*SessionResponse) ProtoReflect ¶
func (x *SessionResponse) ProtoReflect() protoreflect.Message
func (*SessionResponse) Reset ¶
func (x *SessionResponse) Reset()
func (*SessionResponse) String ¶
func (x *SessionResponse) String() string
type SessionStatus ¶
type SessionStatus struct { ConsumerID string `protobuf:"bytes,1,opt,name=ConsumerID,proto3" json:"ConsumerID,omitempty"` SessionID string `protobuf:"bytes,2,opt,name=SessionID,proto3" json:"SessionID,omitempty"` Code uint32 `protobuf:"varint,3,opt,name=Code,proto3" json:"Code,omitempty"` Message string `protobuf:"bytes,4,opt,name=Message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
func (*SessionStatus) Descriptor
deprecated
func (*SessionStatus) Descriptor() ([]byte, []int)
Deprecated: Use SessionStatus.ProtoReflect.Descriptor instead.
func (*SessionStatus) GetCode ¶
func (x *SessionStatus) GetCode() uint32
func (*SessionStatus) GetConsumerID ¶
func (x *SessionStatus) GetConsumerID() string
func (*SessionStatus) GetMessage ¶
func (x *SessionStatus) GetMessage() string
func (*SessionStatus) GetSessionID ¶
func (x *SessionStatus) GetSessionID() string
func (*SessionStatus) ProtoMessage ¶
func (*SessionStatus) ProtoMessage()
func (*SessionStatus) ProtoReflect ¶
func (x *SessionStatus) ProtoReflect() protoreflect.Message
func (*SessionStatus) Reset ¶
func (x *SessionStatus) Reset()
func (*SessionStatus) String ¶
func (x *SessionStatus) String() string