Documentation ¶
Overview ¶
Package pb contains proto3 definitions for user API and the corresponding generated code for grpc server and client.
Index ¶
- Variables
- func RegisterPayment_APIServer(s *grpc.Server, srv Payment_APIServer)
- type AddPeerIDReq
- func (*AddPeerIDReq) Descriptor() ([]byte, []int)deprecated
- func (x *AddPeerIDReq) GetPeerID() *PeerID
- func (x *AddPeerIDReq) GetSessionID() string
- func (*AddPeerIDReq) ProtoMessage()
- func (x *AddPeerIDReq) ProtoReflect() protoreflect.Message
- func (x *AddPeerIDReq) Reset()
- func (x *AddPeerIDReq) String() string
- type AddPeerIDResp
- func (*AddPeerIDResp) Descriptor() ([]byte, []int)deprecated
- func (x *AddPeerIDResp) GetError() *MsgError
- func (x *AddPeerIDResp) GetMsgSuccess() *AddPeerIDResp_MsgSuccess
- func (m *AddPeerIDResp) GetResponse() isAddPeerIDResp_Response
- func (*AddPeerIDResp) ProtoMessage()
- func (x *AddPeerIDResp) ProtoReflect() protoreflect.Message
- func (x *AddPeerIDResp) Reset()
- func (x *AddPeerIDResp) String() string
- type AddPeerIDResp_Error
- type AddPeerIDResp_MsgSuccess
- func (*AddPeerIDResp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *AddPeerIDResp_MsgSuccess) GetSuccess() bool
- func (*AddPeerIDResp_MsgSuccess) ProtoMessage()
- func (x *AddPeerIDResp_MsgSuccess) ProtoReflect() protoreflect.Message
- func (x *AddPeerIDResp_MsgSuccess) Reset()
- func (x *AddPeerIDResp_MsgSuccess) String() string
- type AddPeerIDResp_MsgSuccess_
- type BalInfo
- func (*BalInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BalInfo) GetBals() []*BalInfoBal
- func (x *BalInfo) GetCurrencies() []string
- func (x *BalInfo) GetParts() []string
- func (*BalInfo) ProtoMessage()
- func (x *BalInfo) ProtoReflect() protoreflect.Message
- func (x *BalInfo) Reset()
- func (x *BalInfo) String() string
- type BalInfoBal
- type ClosePayChReq
- func (*ClosePayChReq) Descriptor() ([]byte, []int)deprecated
- func (x *ClosePayChReq) GetChID() string
- func (x *ClosePayChReq) GetSessionID() string
- func (*ClosePayChReq) ProtoMessage()
- func (x *ClosePayChReq) ProtoReflect() protoreflect.Message
- func (x *ClosePayChReq) Reset()
- func (x *ClosePayChReq) String() string
- type ClosePayChResp
- func (*ClosePayChResp) Descriptor() ([]byte, []int)deprecated
- func (x *ClosePayChResp) GetError() *MsgError
- func (x *ClosePayChResp) GetMsgSuccess() *ClosePayChResp_MsgSuccess
- func (m *ClosePayChResp) GetResponse() isClosePayChResp_Response
- func (*ClosePayChResp) ProtoMessage()
- func (x *ClosePayChResp) ProtoReflect() protoreflect.Message
- func (x *ClosePayChResp) Reset()
- func (x *ClosePayChResp) String() string
- type ClosePayChResp_Error
- type ClosePayChResp_MsgSuccess
- func (*ClosePayChResp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *ClosePayChResp_MsgSuccess) GetClosedPayChInfo() *PayChInfo
- func (*ClosePayChResp_MsgSuccess) ProtoMessage()
- func (x *ClosePayChResp_MsgSuccess) ProtoReflect() protoreflect.Message
- func (x *ClosePayChResp_MsgSuccess) Reset()
- func (x *ClosePayChResp_MsgSuccess) String() string
- type ClosePayChResp_MsgSuccess_
- type CloseSessionReq
- func (*CloseSessionReq) Descriptor() ([]byte, []int)deprecated
- func (x *CloseSessionReq) GetForce() bool
- func (x *CloseSessionReq) GetSessionID() string
- func (*CloseSessionReq) ProtoMessage()
- func (x *CloseSessionReq) ProtoReflect() protoreflect.Message
- func (x *CloseSessionReq) Reset()
- func (x *CloseSessionReq) String() string
- type CloseSessionResp
- func (*CloseSessionResp) Descriptor() ([]byte, []int)deprecated
- func (x *CloseSessionResp) GetError() *MsgError
- func (x *CloseSessionResp) GetMsgSuccess() *CloseSessionResp_MsgSuccess
- func (m *CloseSessionResp) GetResponse() isCloseSessionResp_Response
- func (*CloseSessionResp) ProtoMessage()
- func (x *CloseSessionResp) ProtoReflect() protoreflect.Message
- func (x *CloseSessionResp) Reset()
- func (x *CloseSessionResp) String() string
- type CloseSessionResp_Error
- type CloseSessionResp_MsgSuccess
- func (*CloseSessionResp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *CloseSessionResp_MsgSuccess) GetOpenPayChsInfo() []*PayChInfo
- func (*CloseSessionResp_MsgSuccess) ProtoMessage()
- func (x *CloseSessionResp_MsgSuccess) ProtoReflect() protoreflect.Message
- func (x *CloseSessionResp_MsgSuccess) Reset()
- func (x *CloseSessionResp_MsgSuccess) String() string
- type CloseSessionResp_MsgSuccess_
- type ContractErrInfo
- func (*ContractErrInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ContractErrInfo) GetAddress() string
- func (x *ContractErrInfo) GetError() string
- func (x *ContractErrInfo) GetName() string
- func (*ContractErrInfo) ProtoMessage()
- func (x *ContractErrInfo) ProtoReflect() protoreflect.Message
- func (x *ContractErrInfo) Reset()
- func (x *ContractErrInfo) String() string
- type DeployAssetERC20Req
- func (*DeployAssetERC20Req) Descriptor() ([]byte, []int)deprecated
- func (x *DeployAssetERC20Req) GetSessionID() string
- func (x *DeployAssetERC20Req) GetTokenAddr() string
- func (*DeployAssetERC20Req) ProtoMessage()
- func (x *DeployAssetERC20Req) ProtoReflect() protoreflect.Message
- func (x *DeployAssetERC20Req) Reset()
- func (x *DeployAssetERC20Req) String() string
- type DeployAssetERC20Resp
- func (*DeployAssetERC20Resp) Descriptor() ([]byte, []int)deprecated
- func (x *DeployAssetERC20Resp) GetError() *MsgError
- func (x *DeployAssetERC20Resp) GetMsgSuccess() *DeployAssetERC20Resp_MsgSuccess
- func (m *DeployAssetERC20Resp) GetResponse() isDeployAssetERC20Resp_Response
- func (*DeployAssetERC20Resp) ProtoMessage()
- func (x *DeployAssetERC20Resp) ProtoReflect() protoreflect.Message
- func (x *DeployAssetERC20Resp) Reset()
- func (x *DeployAssetERC20Resp) String() string
- type DeployAssetERC20Resp_Error
- type DeployAssetERC20Resp_MsgSuccess
- func (*DeployAssetERC20Resp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *DeployAssetERC20Resp_MsgSuccess) GetAssetAddr() string
- func (*DeployAssetERC20Resp_MsgSuccess) ProtoMessage()
- func (x *DeployAssetERC20Resp_MsgSuccess) ProtoReflect() protoreflect.Message
- func (x *DeployAssetERC20Resp_MsgSuccess) Reset()
- func (x *DeployAssetERC20Resp_MsgSuccess) String() string
- type DeployAssetERC20Resp_MsgSuccess_
- type ErrInfoChainNotReachable
- func (*ErrInfoChainNotReachable) Descriptor() ([]byte, []int)deprecated
- func (x *ErrInfoChainNotReachable) GetChainURL() string
- func (*ErrInfoChainNotReachable) ProtoMessage()
- func (x *ErrInfoChainNotReachable) ProtoReflect() protoreflect.Message
- func (x *ErrInfoChainNotReachable) Reset()
- func (x *ErrInfoChainNotReachable) String() string
- type ErrInfoFailedPreCondUnclosedChs
- func (*ErrInfoFailedPreCondUnclosedChs) Descriptor() ([]byte, []int)deprecated
- func (x *ErrInfoFailedPreCondUnclosedChs) GetChs() []*PayChInfo
- func (*ErrInfoFailedPreCondUnclosedChs) ProtoMessage()
- func (x *ErrInfoFailedPreCondUnclosedChs) ProtoReflect() protoreflect.Message
- func (x *ErrInfoFailedPreCondUnclosedChs) Reset()
- func (x *ErrInfoFailedPreCondUnclosedChs) String() string
- type ErrInfoInvalidArgument
- func (*ErrInfoInvalidArgument) Descriptor() ([]byte, []int)deprecated
- func (x *ErrInfoInvalidArgument) GetName() string
- func (x *ErrInfoInvalidArgument) GetRequirement() string
- func (x *ErrInfoInvalidArgument) GetValue() string
- func (*ErrInfoInvalidArgument) ProtoMessage()
- func (x *ErrInfoInvalidArgument) ProtoReflect() protoreflect.Message
- func (x *ErrInfoInvalidArgument) Reset()
- func (x *ErrInfoInvalidArgument) String() string
- type ErrInfoInvalidConfig
- func (*ErrInfoInvalidConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ErrInfoInvalidConfig) GetName() string
- func (x *ErrInfoInvalidConfig) GetValue() string
- func (*ErrInfoInvalidConfig) ProtoMessage()
- func (x *ErrInfoInvalidConfig) ProtoReflect() protoreflect.Message
- func (x *ErrInfoInvalidConfig) Reset()
- func (x *ErrInfoInvalidConfig) String() string
- type ErrInfoInvalidContracts
- func (*ErrInfoInvalidContracts) Descriptor() ([]byte, []int)deprecated
- func (x *ErrInfoInvalidContracts) GetContractErrInfos() []*ContractErrInfo
- func (*ErrInfoInvalidContracts) ProtoMessage()
- func (x *ErrInfoInvalidContracts) ProtoReflect() protoreflect.Message
- func (x *ErrInfoInvalidContracts) Reset()
- func (x *ErrInfoInvalidContracts) String() string
- type ErrInfoPeerNotFunded
- func (*ErrInfoPeerNotFunded) Descriptor() ([]byte, []int)deprecated
- func (x *ErrInfoPeerNotFunded) GetPeerAlias() string
- func (*ErrInfoPeerNotFunded) ProtoMessage()
- func (x *ErrInfoPeerNotFunded) ProtoReflect() protoreflect.Message
- func (x *ErrInfoPeerNotFunded) Reset()
- func (x *ErrInfoPeerNotFunded) String() string
- type ErrInfoPeerRejected
- func (*ErrInfoPeerRejected) Descriptor() ([]byte, []int)deprecated
- func (x *ErrInfoPeerRejected) GetPeerAlias() string
- func (x *ErrInfoPeerRejected) GetReason() string
- func (*ErrInfoPeerRejected) ProtoMessage()
- func (x *ErrInfoPeerRejected) ProtoReflect() protoreflect.Message
- func (x *ErrInfoPeerRejected) Reset()
- func (x *ErrInfoPeerRejected) String() string
- type ErrInfoPeerRequestTimedOut
- func (*ErrInfoPeerRequestTimedOut) Descriptor() ([]byte, []int)deprecated
- func (x *ErrInfoPeerRequestTimedOut) GetPeerAlias() string
- func (x *ErrInfoPeerRequestTimedOut) GetTimeout() string
- func (*ErrInfoPeerRequestTimedOut) ProtoMessage()
- func (x *ErrInfoPeerRequestTimedOut) ProtoReflect() protoreflect.Message
- func (x *ErrInfoPeerRequestTimedOut) Reset()
- func (x *ErrInfoPeerRequestTimedOut) String() string
- type ErrInfoResourceExists
- func (*ErrInfoResourceExists) Descriptor() ([]byte, []int)deprecated
- func (x *ErrInfoResourceExists) GetId() string
- func (x *ErrInfoResourceExists) GetType() string
- func (*ErrInfoResourceExists) ProtoMessage()
- func (x *ErrInfoResourceExists) ProtoReflect() protoreflect.Message
- func (x *ErrInfoResourceExists) Reset()
- func (x *ErrInfoResourceExists) String() string
- type ErrInfoResourceNotFound
- func (*ErrInfoResourceNotFound) Descriptor() ([]byte, []int)deprecated
- func (x *ErrInfoResourceNotFound) GetId() string
- func (x *ErrInfoResourceNotFound) GetType() string
- func (*ErrInfoResourceNotFound) ProtoMessage()
- func (x *ErrInfoResourceNotFound) ProtoReflect() protoreflect.Message
- func (x *ErrInfoResourceNotFound) Reset()
- func (x *ErrInfoResourceNotFound) String() string
- type ErrInfoTxTimedOut
- func (*ErrInfoTxTimedOut) Descriptor() ([]byte, []int)deprecated
- func (x *ErrInfoTxTimedOut) GetTxID() string
- func (x *ErrInfoTxTimedOut) GetTxTimeout() string
- func (x *ErrInfoTxTimedOut) GetTxType() string
- func (*ErrInfoTxTimedOut) ProtoMessage()
- func (x *ErrInfoTxTimedOut) ProtoReflect() protoreflect.Message
- func (x *ErrInfoTxTimedOut) Reset()
- func (x *ErrInfoTxTimedOut) String() string
- type ErrInfoUserResponseTimedOut
- func (*ErrInfoUserResponseTimedOut) Descriptor() ([]byte, []int)deprecated
- func (x *ErrInfoUserResponseTimedOut) GetExpiry() int64
- func (x *ErrInfoUserResponseTimedOut) GetReceivedAt() int64
- func (*ErrInfoUserResponseTimedOut) ProtoMessage()
- func (x *ErrInfoUserResponseTimedOut) ProtoReflect() protoreflect.Message
- func (x *ErrInfoUserResponseTimedOut) Reset()
- func (x *ErrInfoUserResponseTimedOut) String() string
- type ErrorCategory
- func (ErrorCategory) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorCategory) Enum() *ErrorCategory
- func (ErrorCategory) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorCategory) Number() protoreflect.EnumNumber
- func (x ErrorCategory) String() string
- func (ErrorCategory) Type() protoreflect.EnumType
- type ErrorCode
- type GetConfigReq
- type GetConfigResp
- func (*GetConfigResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigResp) GetAdjudicator() string
- func (x *GetConfigResp) GetAssetETH() string
- func (x *GetConfigResp) GetChainAddress() string
- func (x *GetConfigResp) GetCommTypes() []string
- func (x *GetConfigResp) GetIdProviderTypes() []string
- func (*GetConfigResp) ProtoMessage()
- func (x *GetConfigResp) ProtoReflect() protoreflect.Message
- func (x *GetConfigResp) Reset()
- func (x *GetConfigResp) String() string
- type GetPayChInfoReq
- func (*GetPayChInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetPayChInfoReq) GetChID() string
- func (x *GetPayChInfoReq) GetSessionID() string
- func (*GetPayChInfoReq) ProtoMessage()
- func (x *GetPayChInfoReq) ProtoReflect() protoreflect.Message
- func (x *GetPayChInfoReq) Reset()
- func (x *GetPayChInfoReq) String() string
- type GetPayChInfoResp
- func (*GetPayChInfoResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetPayChInfoResp) GetError() *MsgError
- func (x *GetPayChInfoResp) GetMsgSuccess() *GetPayChInfoResp_MsgSuccess
- func (m *GetPayChInfoResp) GetResponse() isGetPayChInfoResp_Response
- func (*GetPayChInfoResp) ProtoMessage()
- func (x *GetPayChInfoResp) ProtoReflect() protoreflect.Message
- func (x *GetPayChInfoResp) Reset()
- func (x *GetPayChInfoResp) String() string
- type GetPayChInfoResp_Error
- type GetPayChInfoResp_MsgSuccess
- func (*GetPayChInfoResp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *GetPayChInfoResp_MsgSuccess) GetPayChInfo() *PayChInfo
- func (*GetPayChInfoResp_MsgSuccess) ProtoMessage()
- func (x *GetPayChInfoResp_MsgSuccess) ProtoReflect() protoreflect.Message
- func (x *GetPayChInfoResp_MsgSuccess) Reset()
- func (x *GetPayChInfoResp_MsgSuccess) String() string
- type GetPayChInfoResp_MsgSuccess_
- type GetPayChsInfoReq
- type GetPayChsInfoResp
- func (*GetPayChsInfoResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetPayChsInfoResp) GetError() *MsgError
- func (x *GetPayChsInfoResp) GetMsgSuccess() *GetPayChsInfoResp_MsgSuccess
- func (m *GetPayChsInfoResp) GetResponse() isGetPayChsInfoResp_Response
- func (*GetPayChsInfoResp) ProtoMessage()
- func (x *GetPayChsInfoResp) ProtoReflect() protoreflect.Message
- func (x *GetPayChsInfoResp) Reset()
- func (x *GetPayChsInfoResp) String() string
- type GetPayChsInfoResp_Error
- type GetPayChsInfoResp_MsgSuccess
- func (*GetPayChsInfoResp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *GetPayChsInfoResp_MsgSuccess) GetOpenPayChsInfo() []*PayChInfo
- func (*GetPayChsInfoResp_MsgSuccess) ProtoMessage()
- func (x *GetPayChsInfoResp_MsgSuccess) ProtoReflect() protoreflect.Message
- func (x *GetPayChsInfoResp_MsgSuccess) Reset()
- func (x *GetPayChsInfoResp_MsgSuccess) String() string
- type GetPayChsInfoResp_MsgSuccess_
- type GetPeerIDReq
- func (*GetPeerIDReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetPeerIDReq) GetAlias() string
- func (x *GetPeerIDReq) GetSessionID() string
- func (*GetPeerIDReq) ProtoMessage()
- func (x *GetPeerIDReq) ProtoReflect() protoreflect.Message
- func (x *GetPeerIDReq) Reset()
- func (x *GetPeerIDReq) String() string
- type GetPeerIDResp
- func (*GetPeerIDResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetPeerIDResp) GetError() *MsgError
- func (x *GetPeerIDResp) GetMsgSuccess() *GetPeerIDResp_MsgSuccess
- func (m *GetPeerIDResp) GetResponse() isGetPeerIDResp_Response
- func (*GetPeerIDResp) ProtoMessage()
- func (x *GetPeerIDResp) ProtoReflect() protoreflect.Message
- func (x *GetPeerIDResp) Reset()
- func (x *GetPeerIDResp) String() string
- type GetPeerIDResp_Error
- type GetPeerIDResp_MsgSuccess
- func (*GetPeerIDResp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *GetPeerIDResp_MsgSuccess) GetPeerID() *PeerID
- func (*GetPeerIDResp_MsgSuccess) ProtoMessage()
- func (x *GetPeerIDResp_MsgSuccess) ProtoReflect() protoreflect.Message
- func (x *GetPeerIDResp_MsgSuccess) Reset()
- func (x *GetPeerIDResp_MsgSuccess) String() string
- type GetPeerIDResp_MsgSuccess_
- type HelpReq
- type HelpResp
- type MsgError
- func (*MsgError) Descriptor() ([]byte, []int)deprecated
- func (m *MsgError) GetAddInfo() isMsgError_AddInfo
- func (x *MsgError) GetCategory() ErrorCategory
- func (x *MsgError) GetCode() ErrorCode
- func (x *MsgError) GetErrInfoChainNotReachable() *ErrInfoChainNotReachable
- func (x *MsgError) GetErrInfoFailedPreCondUnclosedChs() *ErrInfoFailedPreCondUnclosedChs
- func (x *MsgError) GetErrInfoInvalidArgument() *ErrInfoInvalidArgument
- func (x *MsgError) GetErrInfoInvalidConfig() *ErrInfoInvalidConfig
- func (x *MsgError) GetErrInfoInvalidContracts() *ErrInfoInvalidContracts
- func (x *MsgError) GetErrInfoPeerNotFunded() *ErrInfoPeerNotFunded
- func (x *MsgError) GetErrInfoPeerRejected() *ErrInfoPeerRejected
- func (x *MsgError) GetErrInfoPeerRequestTimedOut() *ErrInfoPeerRequestTimedOut
- func (x *MsgError) GetErrInfoResourceExists() *ErrInfoResourceExists
- func (x *MsgError) GetErrInfoResourceNotFound() *ErrInfoResourceNotFound
- func (x *MsgError) GetErrInfoTxTimedOut() *ErrInfoTxTimedOut
- func (x *MsgError) GetErrInfoUserResponseTimedOut() *ErrInfoUserResponseTimedOut
- func (x *MsgError) GetMessage() string
- func (*MsgError) ProtoMessage()
- func (x *MsgError) ProtoReflect() protoreflect.Message
- func (x *MsgError) Reset()
- func (x *MsgError) String() string
- type MsgError_ErrInfoChainNotReachable
- type MsgError_ErrInfoFailedPreCondUnclosedChs
- type MsgError_ErrInfoInvalidArgument
- type MsgError_ErrInfoInvalidConfig
- type MsgError_ErrInfoInvalidContracts
- type MsgError_ErrInfoPeerNotFunded
- type MsgError_ErrInfoPeerRejected
- type MsgError_ErrInfoPeerRequestTimedOut
- type MsgError_ErrInfoResourceExists
- type MsgError_ErrInfoResourceNotFound
- type MsgError_ErrInfoTxTimedOut
- type MsgError_ErrInfoUserResponseTimedOut
- type OpenPayChReq
- func (*OpenPayChReq) Descriptor() ([]byte, []int)deprecated
- func (x *OpenPayChReq) GetChallengeDurSecs() uint64
- func (x *OpenPayChReq) GetOpeningBalInfo() *BalInfo
- func (x *OpenPayChReq) GetSessionID() string
- func (*OpenPayChReq) ProtoMessage()
- func (x *OpenPayChReq) ProtoReflect() protoreflect.Message
- func (x *OpenPayChReq) Reset()
- func (x *OpenPayChReq) String() string
- type OpenPayChResp
- func (*OpenPayChResp) Descriptor() ([]byte, []int)deprecated
- func (x *OpenPayChResp) GetError() *MsgError
- func (x *OpenPayChResp) GetMsgSuccess() *OpenPayChResp_MsgSuccess
- func (m *OpenPayChResp) GetResponse() isOpenPayChResp_Response
- func (*OpenPayChResp) ProtoMessage()
- func (x *OpenPayChResp) ProtoReflect() protoreflect.Message
- func (x *OpenPayChResp) Reset()
- func (x *OpenPayChResp) String() string
- type OpenPayChResp_Error
- type OpenPayChResp_MsgSuccess
- func (*OpenPayChResp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *OpenPayChResp_MsgSuccess) GetOpenedPayChInfo() *PayChInfo
- func (*OpenPayChResp_MsgSuccess) ProtoMessage()
- func (x *OpenPayChResp_MsgSuccess) ProtoReflect() protoreflect.Message
- func (x *OpenPayChResp_MsgSuccess) Reset()
- func (x *OpenPayChResp_MsgSuccess) String() string
- type OpenPayChResp_MsgSuccess_
- type OpenSessionReq
- type OpenSessionResp
- func (*OpenSessionResp) Descriptor() ([]byte, []int)deprecated
- func (x *OpenSessionResp) GetError() *MsgError
- func (x *OpenSessionResp) GetMsgSuccess() *OpenSessionResp_MsgSuccess
- func (m *OpenSessionResp) GetResponse() isOpenSessionResp_Response
- func (*OpenSessionResp) ProtoMessage()
- func (x *OpenSessionResp) ProtoReflect() protoreflect.Message
- func (x *OpenSessionResp) Reset()
- func (x *OpenSessionResp) String() string
- type OpenSessionResp_Error
- type OpenSessionResp_MsgSuccess
- func (*OpenSessionResp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *OpenSessionResp_MsgSuccess) GetRestoredChs() []*PayChInfo
- func (x *OpenSessionResp_MsgSuccess) GetSessionID() string
- func (*OpenSessionResp_MsgSuccess) ProtoMessage()
- func (x *OpenSessionResp_MsgSuccess) ProtoReflect() protoreflect.Message
- func (x *OpenSessionResp_MsgSuccess) Reset()
- func (x *OpenSessionResp_MsgSuccess) String() string
- type OpenSessionResp_MsgSuccess_
- type PayChInfo
- func (*PayChInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PayChInfo) GetBalInfo() *BalInfo
- func (x *PayChInfo) GetChID() string
- func (x *PayChInfo) GetVersion() string
- func (*PayChInfo) ProtoMessage()
- func (x *PayChInfo) ProtoReflect() protoreflect.Message
- func (x *PayChInfo) Reset()
- func (x *PayChInfo) String() string
- type Payment
- func (*Payment) Descriptor() ([]byte, []int)deprecated
- func (x *Payment) GetAmount() string
- func (x *Payment) GetCurrency() string
- func (x *Payment) GetPayee() string
- func (*Payment) ProtoMessage()
- func (x *Payment) ProtoReflect() protoreflect.Message
- func (x *Payment) Reset()
- func (x *Payment) String() string
- type Payment_APIClient
- type Payment_APIServer
- type Payment_API_SubPayChProposalsClient
- type Payment_API_SubPayChProposalsServer
- type Payment_API_SubPayChUpdatesClient
- type Payment_API_SubPayChUpdatesServer
- type PeerID
- func (*PeerID) Descriptor() ([]byte, []int)deprecated
- func (x *PeerID) GetAlias() string
- func (x *PeerID) GetCommAddress() string
- func (x *PeerID) GetCommType() string
- func (x *PeerID) GetOffChainAddress() string
- func (*PeerID) ProtoMessage()
- func (x *PeerID) ProtoReflect() protoreflect.Message
- func (x *PeerID) Reset()
- func (x *PeerID) String() string
- type RegisterCurrencyReq
- func (*RegisterCurrencyReq) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterCurrencyReq) GetAssetAddr() string
- func (x *RegisterCurrencyReq) GetTokenAddr() string
- func (*RegisterCurrencyReq) ProtoMessage()
- func (x *RegisterCurrencyReq) ProtoReflect() protoreflect.Message
- func (x *RegisterCurrencyReq) Reset()
- func (x *RegisterCurrencyReq) String() string
- type RegisterCurrencyResp
- func (*RegisterCurrencyResp) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterCurrencyResp) GetError() *MsgError
- func (x *RegisterCurrencyResp) GetMsgSuccess() *RegisterCurrencyResp_MsgSuccess
- func (m *RegisterCurrencyResp) GetResponse() isRegisterCurrencyResp_Response
- func (*RegisterCurrencyResp) ProtoMessage()
- func (x *RegisterCurrencyResp) ProtoReflect() protoreflect.Message
- func (x *RegisterCurrencyResp) Reset()
- func (x *RegisterCurrencyResp) String() string
- type RegisterCurrencyResp_Error
- type RegisterCurrencyResp_MsgSuccess
- func (*RegisterCurrencyResp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterCurrencyResp_MsgSuccess) GetSymbol() string
- func (*RegisterCurrencyResp_MsgSuccess) ProtoMessage()
- func (x *RegisterCurrencyResp_MsgSuccess) ProtoReflect() protoreflect.Message
- func (x *RegisterCurrencyResp_MsgSuccess) Reset()
- func (x *RegisterCurrencyResp_MsgSuccess) String() string
- type RegisterCurrencyResp_MsgSuccess_
- type RespondPayChProposalReq
- func (*RespondPayChProposalReq) Descriptor() ([]byte, []int)deprecated
- func (x *RespondPayChProposalReq) GetAccept() bool
- func (x *RespondPayChProposalReq) GetProposalID() string
- func (x *RespondPayChProposalReq) GetSessionID() string
- func (*RespondPayChProposalReq) ProtoMessage()
- func (x *RespondPayChProposalReq) ProtoReflect() protoreflect.Message
- func (x *RespondPayChProposalReq) Reset()
- func (x *RespondPayChProposalReq) String() string
- type RespondPayChProposalResp
- func (*RespondPayChProposalResp) Descriptor() ([]byte, []int)deprecated
- func (x *RespondPayChProposalResp) GetError() *MsgError
- func (x *RespondPayChProposalResp) GetMsgSuccess() *RespondPayChProposalResp_MsgSuccess
- func (m *RespondPayChProposalResp) GetResponse() isRespondPayChProposalResp_Response
- func (*RespondPayChProposalResp) ProtoMessage()
- func (x *RespondPayChProposalResp) ProtoReflect() protoreflect.Message
- func (x *RespondPayChProposalResp) Reset()
- func (x *RespondPayChProposalResp) String() string
- type RespondPayChProposalResp_Error
- type RespondPayChProposalResp_MsgSuccess
- func (*RespondPayChProposalResp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *RespondPayChProposalResp_MsgSuccess) GetOpenedPayChInfo() *PayChInfo
- func (*RespondPayChProposalResp_MsgSuccess) ProtoMessage()
- func (x *RespondPayChProposalResp_MsgSuccess) ProtoReflect() protoreflect.Message
- func (x *RespondPayChProposalResp_MsgSuccess) Reset()
- func (x *RespondPayChProposalResp_MsgSuccess) String() string
- type RespondPayChProposalResp_MsgSuccess_
- type RespondPayChUpdateReq
- func (*RespondPayChUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *RespondPayChUpdateReq) GetAccept() bool
- func (x *RespondPayChUpdateReq) GetChID() string
- func (x *RespondPayChUpdateReq) GetSessionID() string
- func (x *RespondPayChUpdateReq) GetUpdateID() string
- func (*RespondPayChUpdateReq) ProtoMessage()
- func (x *RespondPayChUpdateReq) ProtoReflect() protoreflect.Message
- func (x *RespondPayChUpdateReq) Reset()
- func (x *RespondPayChUpdateReq) String() string
- type RespondPayChUpdateResp
- func (*RespondPayChUpdateResp) Descriptor() ([]byte, []int)deprecated
- func (x *RespondPayChUpdateResp) GetError() *MsgError
- func (x *RespondPayChUpdateResp) GetMsgSuccess() *RespondPayChUpdateResp_MsgSuccess
- func (m *RespondPayChUpdateResp) GetResponse() isRespondPayChUpdateResp_Response
- func (*RespondPayChUpdateResp) ProtoMessage()
- func (x *RespondPayChUpdateResp) ProtoReflect() protoreflect.Message
- func (x *RespondPayChUpdateResp) Reset()
- func (x *RespondPayChUpdateResp) String() string
- type RespondPayChUpdateResp_Error
- type RespondPayChUpdateResp_MsgSuccess
- func (*RespondPayChUpdateResp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *RespondPayChUpdateResp_MsgSuccess) GetUpdatedPayChInfo() *PayChInfo
- func (*RespondPayChUpdateResp_MsgSuccess) ProtoMessage()
- func (x *RespondPayChUpdateResp_MsgSuccess) ProtoReflect() protoreflect.Message
- func (x *RespondPayChUpdateResp_MsgSuccess) Reset()
- func (x *RespondPayChUpdateResp_MsgSuccess) String() string
- type RespondPayChUpdateResp_MsgSuccess_
- type SendPayChUpdateReq
- func (*SendPayChUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *SendPayChUpdateReq) GetChID() string
- func (x *SendPayChUpdateReq) GetPayments() []*Payment
- func (x *SendPayChUpdateReq) GetSessionID() string
- func (*SendPayChUpdateReq) ProtoMessage()
- func (x *SendPayChUpdateReq) ProtoReflect() protoreflect.Message
- func (x *SendPayChUpdateReq) Reset()
- func (x *SendPayChUpdateReq) String() string
- type SendPayChUpdateResp
- func (*SendPayChUpdateResp) Descriptor() ([]byte, []int)deprecated
- func (x *SendPayChUpdateResp) GetError() *MsgError
- func (x *SendPayChUpdateResp) GetMsgSuccess() *SendPayChUpdateResp_MsgSuccess
- func (m *SendPayChUpdateResp) GetResponse() isSendPayChUpdateResp_Response
- func (*SendPayChUpdateResp) ProtoMessage()
- func (x *SendPayChUpdateResp) ProtoReflect() protoreflect.Message
- func (x *SendPayChUpdateResp) Reset()
- func (x *SendPayChUpdateResp) String() string
- type SendPayChUpdateResp_Error
- type SendPayChUpdateResp_MsgSuccess
- func (*SendPayChUpdateResp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *SendPayChUpdateResp_MsgSuccess) GetUpdatedPayChInfo() *PayChInfo
- func (*SendPayChUpdateResp_MsgSuccess) ProtoMessage()
- func (x *SendPayChUpdateResp_MsgSuccess) ProtoReflect() protoreflect.Message
- func (x *SendPayChUpdateResp_MsgSuccess) Reset()
- func (x *SendPayChUpdateResp_MsgSuccess) String() string
- type SendPayChUpdateResp_MsgSuccess_
- type SubPayChProposalsReq
- func (*SubPayChProposalsReq) Descriptor() ([]byte, []int)deprecated
- func (x *SubPayChProposalsReq) GetSessionID() string
- func (*SubPayChProposalsReq) ProtoMessage()
- func (x *SubPayChProposalsReq) ProtoReflect() protoreflect.Message
- func (x *SubPayChProposalsReq) Reset()
- func (x *SubPayChProposalsReq) String() string
- type SubPayChProposalsResp
- func (*SubPayChProposalsResp) Descriptor() ([]byte, []int)deprecated
- func (x *SubPayChProposalsResp) GetError() *MsgError
- func (x *SubPayChProposalsResp) GetNotify() *SubPayChProposalsResp_Notify
- func (m *SubPayChProposalsResp) GetResponse() isSubPayChProposalsResp_Response
- func (*SubPayChProposalsResp) ProtoMessage()
- func (x *SubPayChProposalsResp) ProtoReflect() protoreflect.Message
- func (x *SubPayChProposalsResp) Reset()
- func (x *SubPayChProposalsResp) String() string
- type SubPayChProposalsResp_Error
- type SubPayChProposalsResp_Notify
- func (*SubPayChProposalsResp_Notify) Descriptor() ([]byte, []int)deprecated
- func (x *SubPayChProposalsResp_Notify) GetChallengeDurSecs() uint64
- func (x *SubPayChProposalsResp_Notify) GetExpiry() int64
- func (x *SubPayChProposalsResp_Notify) GetOpeningBalInfo() *BalInfo
- func (x *SubPayChProposalsResp_Notify) GetProposalID() string
- func (*SubPayChProposalsResp_Notify) ProtoMessage()
- func (x *SubPayChProposalsResp_Notify) ProtoReflect() protoreflect.Message
- func (x *SubPayChProposalsResp_Notify) Reset()
- func (x *SubPayChProposalsResp_Notify) String() string
- type SubPayChProposalsResp_Notify_
- type SubPayChUpdatesResp
- func (*SubPayChUpdatesResp) Descriptor() ([]byte, []int)deprecated
- func (x *SubPayChUpdatesResp) GetError() *MsgError
- func (x *SubPayChUpdatesResp) GetNotify() *SubPayChUpdatesResp_Notify
- func (m *SubPayChUpdatesResp) GetResponse() isSubPayChUpdatesResp_Response
- func (*SubPayChUpdatesResp) ProtoMessage()
- func (x *SubPayChUpdatesResp) ProtoReflect() protoreflect.Message
- func (x *SubPayChUpdatesResp) Reset()
- func (x *SubPayChUpdatesResp) String() string
- type SubPayChUpdatesResp_Error
- type SubPayChUpdatesResp_Notify
- func (*SubPayChUpdatesResp_Notify) Descriptor() ([]byte, []int)deprecated
- func (x *SubPayChUpdatesResp_Notify) GetError() *MsgError
- func (x *SubPayChUpdatesResp_Notify) GetExpiry() int64
- func (x *SubPayChUpdatesResp_Notify) GetProposedPayChInfo() *PayChInfo
- func (x *SubPayChUpdatesResp_Notify) GetType() SubPayChUpdatesResp_Notify_ChUpdateType
- func (x *SubPayChUpdatesResp_Notify) GetUpdateID() string
- func (*SubPayChUpdatesResp_Notify) ProtoMessage()
- func (x *SubPayChUpdatesResp_Notify) ProtoReflect() protoreflect.Message
- func (x *SubPayChUpdatesResp_Notify) Reset()
- func (x *SubPayChUpdatesResp_Notify) String() string
- type SubPayChUpdatesResp_Notify_
- type SubPayChUpdatesResp_Notify_ChUpdateType
- func (SubPayChUpdatesResp_Notify_ChUpdateType) Descriptor() protoreflect.EnumDescriptor
- func (x SubPayChUpdatesResp_Notify_ChUpdateType) Enum() *SubPayChUpdatesResp_Notify_ChUpdateType
- func (SubPayChUpdatesResp_Notify_ChUpdateType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SubPayChUpdatesResp_Notify_ChUpdateType) Number() protoreflect.EnumNumber
- func (x SubPayChUpdatesResp_Notify_ChUpdateType) String() string
- func (SubPayChUpdatesResp_Notify_ChUpdateType) Type() protoreflect.EnumType
- type SubpayChUpdatesReq
- func (*SubpayChUpdatesReq) Descriptor() ([]byte, []int)deprecated
- func (x *SubpayChUpdatesReq) GetChID() string
- func (x *SubpayChUpdatesReq) GetSessionID() string
- func (*SubpayChUpdatesReq) ProtoMessage()
- func (x *SubpayChUpdatesReq) ProtoReflect() protoreflect.Message
- func (x *SubpayChUpdatesReq) Reset()
- func (x *SubpayChUpdatesReq) String() string
- type TimeReq
- type TimeResp
- type UnimplementedPayment_APIServer
- func (*UnimplementedPayment_APIServer) AddPeerID(context.Context, *AddPeerIDReq) (*AddPeerIDResp, error)
- func (*UnimplementedPayment_APIServer) ClosePayCh(context.Context, *ClosePayChReq) (*ClosePayChResp, error)
- func (*UnimplementedPayment_APIServer) CloseSession(context.Context, *CloseSessionReq) (*CloseSessionResp, error)
- func (*UnimplementedPayment_APIServer) DeployAssetERC20(context.Context, *DeployAssetERC20Req) (*DeployAssetERC20Resp, error)
- func (*UnimplementedPayment_APIServer) GetConfig(context.Context, *GetConfigReq) (*GetConfigResp, error)
- func (*UnimplementedPayment_APIServer) GetPayChInfo(context.Context, *GetPayChInfoReq) (*GetPayChInfoResp, error)
- func (*UnimplementedPayment_APIServer) GetPayChsInfo(context.Context, *GetPayChsInfoReq) (*GetPayChsInfoResp, error)
- func (*UnimplementedPayment_APIServer) GetPeerID(context.Context, *GetPeerIDReq) (*GetPeerIDResp, error)
- func (*UnimplementedPayment_APIServer) Help(context.Context, *HelpReq) (*HelpResp, error)
- func (*UnimplementedPayment_APIServer) OpenPayCh(context.Context, *OpenPayChReq) (*OpenPayChResp, error)
- func (*UnimplementedPayment_APIServer) OpenSession(context.Context, *OpenSessionReq) (*OpenSessionResp, error)
- func (*UnimplementedPayment_APIServer) RegisterCurrency(context.Context, *RegisterCurrencyReq) (*RegisterCurrencyResp, error)
- func (*UnimplementedPayment_APIServer) RespondPayChProposal(context.Context, *RespondPayChProposalReq) (*RespondPayChProposalResp, error)
- func (*UnimplementedPayment_APIServer) RespondPayChUpdate(context.Context, *RespondPayChUpdateReq) (*RespondPayChUpdateResp, error)
- func (*UnimplementedPayment_APIServer) SendPayChUpdate(context.Context, *SendPayChUpdateReq) (*SendPayChUpdateResp, error)
- func (*UnimplementedPayment_APIServer) SubPayChProposals(*SubPayChProposalsReq, Payment_API_SubPayChProposalsServer) error
- func (*UnimplementedPayment_APIServer) SubPayChUpdates(*SubpayChUpdatesReq, Payment_API_SubPayChUpdatesServer) error
- func (*UnimplementedPayment_APIServer) Time(context.Context, *TimeReq) (*TimeResp, error)
- func (*UnimplementedPayment_APIServer) UnsubPayChProposals(context.Context, *UnsubPayChProposalsReq) (*UnsubPayChProposalsResp, error)
- func (*UnimplementedPayment_APIServer) UnsubPayChUpdates(context.Context, *UnsubPayChUpdatesReq) (*UnsubPayChUpdatesResp, error)
- type UnsubPayChProposalsReq
- func (*UnsubPayChProposalsReq) Descriptor() ([]byte, []int)deprecated
- func (x *UnsubPayChProposalsReq) GetSessionID() string
- func (*UnsubPayChProposalsReq) ProtoMessage()
- func (x *UnsubPayChProposalsReq) ProtoReflect() protoreflect.Message
- func (x *UnsubPayChProposalsReq) Reset()
- func (x *UnsubPayChProposalsReq) String() string
- type UnsubPayChProposalsResp
- func (*UnsubPayChProposalsResp) Descriptor() ([]byte, []int)deprecated
- func (x *UnsubPayChProposalsResp) GetError() *MsgError
- func (x *UnsubPayChProposalsResp) GetMsgSuccess() *UnsubPayChProposalsResp_MsgSuccess
- func (m *UnsubPayChProposalsResp) GetResponse() isUnsubPayChProposalsResp_Response
- func (*UnsubPayChProposalsResp) ProtoMessage()
- func (x *UnsubPayChProposalsResp) ProtoReflect() protoreflect.Message
- func (x *UnsubPayChProposalsResp) Reset()
- func (x *UnsubPayChProposalsResp) String() string
- type UnsubPayChProposalsResp_Error
- type UnsubPayChProposalsResp_MsgSuccess
- func (*UnsubPayChProposalsResp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *UnsubPayChProposalsResp_MsgSuccess) GetSuccess() bool
- func (*UnsubPayChProposalsResp_MsgSuccess) ProtoMessage()
- func (x *UnsubPayChProposalsResp_MsgSuccess) ProtoReflect() protoreflect.Message
- func (x *UnsubPayChProposalsResp_MsgSuccess) Reset()
- func (x *UnsubPayChProposalsResp_MsgSuccess) String() string
- type UnsubPayChProposalsResp_MsgSuccess_
- type UnsubPayChUpdatesReq
- func (*UnsubPayChUpdatesReq) Descriptor() ([]byte, []int)deprecated
- func (x *UnsubPayChUpdatesReq) GetChID() string
- func (x *UnsubPayChUpdatesReq) GetSessionID() string
- func (*UnsubPayChUpdatesReq) ProtoMessage()
- func (x *UnsubPayChUpdatesReq) ProtoReflect() protoreflect.Message
- func (x *UnsubPayChUpdatesReq) Reset()
- func (x *UnsubPayChUpdatesReq) String() string
- type UnsubPayChUpdatesResp
- func (*UnsubPayChUpdatesResp) Descriptor() ([]byte, []int)deprecated
- func (x *UnsubPayChUpdatesResp) GetError() *MsgError
- func (x *UnsubPayChUpdatesResp) GetMsgSuccess() *UnsubPayChUpdatesResp_MsgSuccess
- func (m *UnsubPayChUpdatesResp) GetResponse() isUnsubPayChUpdatesResp_Response
- func (*UnsubPayChUpdatesResp) ProtoMessage()
- func (x *UnsubPayChUpdatesResp) ProtoReflect() protoreflect.Message
- func (x *UnsubPayChUpdatesResp) Reset()
- func (x *UnsubPayChUpdatesResp) String() string
- type UnsubPayChUpdatesResp_Error
- type UnsubPayChUpdatesResp_MsgSuccess
- func (*UnsubPayChUpdatesResp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *UnsubPayChUpdatesResp_MsgSuccess) GetSuccess() bool
- func (*UnsubPayChUpdatesResp_MsgSuccess) ProtoMessage()
- func (x *UnsubPayChUpdatesResp_MsgSuccess) ProtoReflect() protoreflect.Message
- func (x *UnsubPayChUpdatesResp_MsgSuccess) Reset()
- func (x *UnsubPayChUpdatesResp_MsgSuccess) String() string
- type UnsubPayChUpdatesResp_MsgSuccess_
Constants ¶
This section is empty.
Variables ¶
var ( ErrorCategory_name = map[int32]string{ 0: "ParticipantError", 1: "ClientError", 2: "ProtocolError", 3: "InternalError", } ErrorCategory_value = map[string]int32{ "ParticipantError": 0, "ClientError": 1, "ProtocolError": 2, "InternalError": 3, } )
Enum value maps for ErrorCategory.
var ( ErrorCode_name = map[int32]string{ 0: "DefaultInvalidCode", 101: "ErrPeerRequestTimedOut", 102: "ErrPeerRejected", 103: "ErrPeerNotFunded", 104: "ErrUserResponseTimedOut", 201: "ErrResourceNotFound", 202: "ErrResourceExists", 203: "ErrInvalidArgument", 204: "ErrFailedPreCondition", 205: "ErrInvalidConfig", 206: "ErrInvalidContracts", 301: "ErrTxTimedOut", 302: "ErrChainNotReachable", 401: "ErrUnknownInternal", } ErrorCode_value = map[string]int32{ "DefaultInvalidCode": 0, "ErrPeerRequestTimedOut": 101, "ErrPeerRejected": 102, "ErrPeerNotFunded": 103, "ErrUserResponseTimedOut": 104, "ErrResourceNotFound": 201, "ErrResourceExists": 202, "ErrInvalidArgument": 203, "ErrFailedPreCondition": 204, "ErrInvalidConfig": 205, "ErrInvalidContracts": 206, "ErrTxTimedOut": 301, "ErrChainNotReachable": 302, "ErrUnknownInternal": 401, } )
Enum value maps for ErrorCode.
var ( SubPayChUpdatesResp_Notify_ChUpdateType_name = map[int32]string{ 0: "open", 1: "final", 2: "closed", } SubPayChUpdatesResp_Notify_ChUpdateType_value = map[string]int32{ "open": 0, "final": 1, "closed": 2, } )
Enum value maps for SubPayChUpdatesResp_Notify_ChUpdateType.
var File_api_proto protoreflect.FileDescriptor
Functions ¶
func RegisterPayment_APIServer ¶
func RegisterPayment_APIServer(s *grpc.Server, srv Payment_APIServer)
Types ¶
type AddPeerIDReq ¶ added in v0.5.0
type AddPeerIDReq struct { SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"` PeerID *PeerID `protobuf:"bytes,2,opt,name=peerID,proto3" json:"peerID,omitempty"` // contains filtered or unexported fields }
func (*AddPeerIDReq) Descriptor
deprecated
added in
v0.5.0
func (*AddPeerIDReq) Descriptor() ([]byte, []int)
Deprecated: Use AddPeerIDReq.ProtoReflect.Descriptor instead.
func (*AddPeerIDReq) GetPeerID ¶ added in v0.5.0
func (x *AddPeerIDReq) GetPeerID() *PeerID
func (*AddPeerIDReq) GetSessionID ¶ added in v0.5.0
func (x *AddPeerIDReq) GetSessionID() string
func (*AddPeerIDReq) ProtoMessage ¶ added in v0.5.0
func (*AddPeerIDReq) ProtoMessage()
func (*AddPeerIDReq) ProtoReflect ¶ added in v0.5.0
func (x *AddPeerIDReq) ProtoReflect() protoreflect.Message
func (*AddPeerIDReq) Reset ¶ added in v0.5.0
func (x *AddPeerIDReq) Reset()
func (*AddPeerIDReq) String ¶ added in v0.5.0
func (x *AddPeerIDReq) String() string
type AddPeerIDResp ¶ added in v0.5.0
type AddPeerIDResp struct { // Types that are assignable to Response: // *AddPeerIDResp_MsgSuccess_ // *AddPeerIDResp_Error Response isAddPeerIDResp_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*AddPeerIDResp) Descriptor
deprecated
added in
v0.5.0
func (*AddPeerIDResp) Descriptor() ([]byte, []int)
Deprecated: Use AddPeerIDResp.ProtoReflect.Descriptor instead.
func (*AddPeerIDResp) GetError ¶ added in v0.5.0
func (x *AddPeerIDResp) GetError() *MsgError
func (*AddPeerIDResp) GetMsgSuccess ¶ added in v0.5.0
func (x *AddPeerIDResp) GetMsgSuccess() *AddPeerIDResp_MsgSuccess
func (*AddPeerIDResp) GetResponse ¶ added in v0.5.0
func (m *AddPeerIDResp) GetResponse() isAddPeerIDResp_Response
func (*AddPeerIDResp) ProtoMessage ¶ added in v0.5.0
func (*AddPeerIDResp) ProtoMessage()
func (*AddPeerIDResp) ProtoReflect ¶ added in v0.5.0
func (x *AddPeerIDResp) ProtoReflect() protoreflect.Message
func (*AddPeerIDResp) Reset ¶ added in v0.5.0
func (x *AddPeerIDResp) Reset()
func (*AddPeerIDResp) String ¶ added in v0.5.0
func (x *AddPeerIDResp) String() string
type AddPeerIDResp_Error ¶ added in v0.5.0
type AddPeerIDResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type AddPeerIDResp_MsgSuccess ¶ added in v0.5.0
type AddPeerIDResp_MsgSuccess struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*AddPeerIDResp_MsgSuccess) Descriptor
deprecated
added in
v0.5.0
func (*AddPeerIDResp_MsgSuccess) Descriptor() ([]byte, []int)
Deprecated: Use AddPeerIDResp_MsgSuccess.ProtoReflect.Descriptor instead.
func (*AddPeerIDResp_MsgSuccess) GetSuccess ¶ added in v0.5.0
func (x *AddPeerIDResp_MsgSuccess) GetSuccess() bool
func (*AddPeerIDResp_MsgSuccess) ProtoMessage ¶ added in v0.5.0
func (*AddPeerIDResp_MsgSuccess) ProtoMessage()
func (*AddPeerIDResp_MsgSuccess) ProtoReflect ¶ added in v0.5.0
func (x *AddPeerIDResp_MsgSuccess) ProtoReflect() protoreflect.Message
func (*AddPeerIDResp_MsgSuccess) Reset ¶ added in v0.5.0
func (x *AddPeerIDResp_MsgSuccess) Reset()
func (*AddPeerIDResp_MsgSuccess) String ¶ added in v0.5.0
func (x *AddPeerIDResp_MsgSuccess) String() string
type AddPeerIDResp_MsgSuccess_ ¶ added in v0.5.0
type AddPeerIDResp_MsgSuccess_ struct {
MsgSuccess *AddPeerIDResp_MsgSuccess `protobuf:"bytes,1,opt,name=msgSuccess,proto3,oneof"`
}
type BalInfo ¶ added in v0.4.0
type BalInfo struct { Currencies []string `protobuf:"bytes,1,rep,name=currencies,proto3" json:"currencies,omitempty"` Parts []string `protobuf:"bytes,2,rep,name=parts,proto3" json:"parts,omitempty"` Bals []*BalInfoBal `protobuf:"bytes,3,rep,name=bals,proto3" json:"bals,omitempty"` // contains filtered or unexported fields }
BalInfo represents the balance information of the channel: Currency and the channel balance. Balance is represented as two corresponding lists: Parts contains the list of aliases of the channel participants and Balance list contains the amount held by each channel participant in the give currency.
A valid BalInfo should meet the following conditions, it should be validated when using them.
- Lengths of Parts list and Balance list are equal.
- All entries in Parts list are unique.
- Parts list has an entry "self", that represents the user of the session.
- No amount in Balance must be negative.
func (*BalInfo) Descriptor
deprecated
added in
v0.4.0
func (*BalInfo) GetBals ¶ added in v0.6.0
func (x *BalInfo) GetBals() []*BalInfoBal
func (*BalInfo) GetCurrencies ¶ added in v0.6.0
func (*BalInfo) ProtoMessage ¶ added in v0.4.0
func (*BalInfo) ProtoMessage()
func (*BalInfo) ProtoReflect ¶ added in v0.4.0
func (x *BalInfo) ProtoReflect() protoreflect.Message
type BalInfoBal ¶ added in v0.6.0
type BalInfoBal struct { Bal []string `protobuf:"bytes,1,rep,name=bal,proto3" json:"bal,omitempty"` // contains filtered or unexported fields }
func (*BalInfoBal) Descriptor
deprecated
added in
v0.6.0
func (*BalInfoBal) Descriptor() ([]byte, []int)
Deprecated: Use BalInfoBal.ProtoReflect.Descriptor instead.
func (*BalInfoBal) GetBal ¶ added in v0.6.0
func (x *BalInfoBal) GetBal() []string
func (*BalInfoBal) ProtoMessage ¶ added in v0.6.0
func (*BalInfoBal) ProtoMessage()
func (*BalInfoBal) ProtoReflect ¶ added in v0.6.0
func (x *BalInfoBal) ProtoReflect() protoreflect.Message
func (*BalInfoBal) Reset ¶ added in v0.6.0
func (x *BalInfoBal) Reset()
func (*BalInfoBal) String ¶ added in v0.6.0
func (x *BalInfoBal) String() string
type ClosePayChReq ¶
type ClosePayChReq struct { SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"` ChID string `protobuf:"bytes,2,opt,name=chID,proto3" json:"chID,omitempty"` // contains filtered or unexported fields }
func (*ClosePayChReq) Descriptor
deprecated
func (*ClosePayChReq) Descriptor() ([]byte, []int)
Deprecated: Use ClosePayChReq.ProtoReflect.Descriptor instead.
func (*ClosePayChReq) GetChID ¶ added in v0.4.0
func (x *ClosePayChReq) GetChID() string
func (*ClosePayChReq) GetSessionID ¶
func (x *ClosePayChReq) GetSessionID() string
func (*ClosePayChReq) ProtoMessage ¶
func (*ClosePayChReq) ProtoMessage()
func (*ClosePayChReq) ProtoReflect ¶
func (x *ClosePayChReq) ProtoReflect() protoreflect.Message
func (*ClosePayChReq) Reset ¶
func (x *ClosePayChReq) Reset()
func (*ClosePayChReq) String ¶
func (x *ClosePayChReq) String() string
type ClosePayChResp ¶
type ClosePayChResp struct { // Types that are assignable to Response: // *ClosePayChResp_MsgSuccess_ // *ClosePayChResp_Error Response isClosePayChResp_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*ClosePayChResp) Descriptor
deprecated
func (*ClosePayChResp) Descriptor() ([]byte, []int)
Deprecated: Use ClosePayChResp.ProtoReflect.Descriptor instead.
func (*ClosePayChResp) GetError ¶
func (x *ClosePayChResp) GetError() *MsgError
func (*ClosePayChResp) GetMsgSuccess ¶
func (x *ClosePayChResp) GetMsgSuccess() *ClosePayChResp_MsgSuccess
func (*ClosePayChResp) GetResponse ¶
func (m *ClosePayChResp) GetResponse() isClosePayChResp_Response
func (*ClosePayChResp) ProtoMessage ¶
func (*ClosePayChResp) ProtoMessage()
func (*ClosePayChResp) ProtoReflect ¶
func (x *ClosePayChResp) ProtoReflect() protoreflect.Message
func (*ClosePayChResp) Reset ¶
func (x *ClosePayChResp) Reset()
func (*ClosePayChResp) String ¶
func (x *ClosePayChResp) String() string
type ClosePayChResp_Error ¶
type ClosePayChResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type ClosePayChResp_MsgSuccess ¶
type ClosePayChResp_MsgSuccess struct { ClosedPayChInfo *PayChInfo `protobuf:"bytes,1,opt,name=closedPayChInfo,proto3" json:"closedPayChInfo,omitempty"` // contains filtered or unexported fields }
func (*ClosePayChResp_MsgSuccess) Descriptor
deprecated
func (*ClosePayChResp_MsgSuccess) Descriptor() ([]byte, []int)
Deprecated: Use ClosePayChResp_MsgSuccess.ProtoReflect.Descriptor instead.
func (*ClosePayChResp_MsgSuccess) GetClosedPayChInfo ¶ added in v0.4.0
func (x *ClosePayChResp_MsgSuccess) GetClosedPayChInfo() *PayChInfo
func (*ClosePayChResp_MsgSuccess) ProtoMessage ¶
func (*ClosePayChResp_MsgSuccess) ProtoMessage()
func (*ClosePayChResp_MsgSuccess) ProtoReflect ¶
func (x *ClosePayChResp_MsgSuccess) ProtoReflect() protoreflect.Message
func (*ClosePayChResp_MsgSuccess) Reset ¶
func (x *ClosePayChResp_MsgSuccess) Reset()
func (*ClosePayChResp_MsgSuccess) String ¶
func (x *ClosePayChResp_MsgSuccess) String() string
type ClosePayChResp_MsgSuccess_ ¶
type ClosePayChResp_MsgSuccess_ struct {
MsgSuccess *ClosePayChResp_MsgSuccess `protobuf:"bytes,1,opt,name=msgSuccess,proto3,oneof"`
}
type CloseSessionReq ¶
type CloseSessionReq struct { SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"` Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
func (*CloseSessionReq) Descriptor
deprecated
func (*CloseSessionReq) Descriptor() ([]byte, []int)
Deprecated: Use CloseSessionReq.ProtoReflect.Descriptor instead.
func (*CloseSessionReq) GetForce ¶
func (x *CloseSessionReq) GetForce() bool
func (*CloseSessionReq) GetSessionID ¶
func (x *CloseSessionReq) GetSessionID() string
func (*CloseSessionReq) ProtoMessage ¶
func (*CloseSessionReq) ProtoMessage()
func (*CloseSessionReq) ProtoReflect ¶
func (x *CloseSessionReq) ProtoReflect() protoreflect.Message
func (*CloseSessionReq) Reset ¶
func (x *CloseSessionReq) Reset()
func (*CloseSessionReq) String ¶
func (x *CloseSessionReq) String() string
type CloseSessionResp ¶
type CloseSessionResp struct { // Types that are assignable to Response: // *CloseSessionResp_MsgSuccess_ // *CloseSessionResp_Error Response isCloseSessionResp_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*CloseSessionResp) Descriptor
deprecated
func (*CloseSessionResp) Descriptor() ([]byte, []int)
Deprecated: Use CloseSessionResp.ProtoReflect.Descriptor instead.
func (*CloseSessionResp) GetError ¶ added in v0.4.0
func (x *CloseSessionResp) GetError() *MsgError
func (*CloseSessionResp) GetMsgSuccess ¶
func (x *CloseSessionResp) GetMsgSuccess() *CloseSessionResp_MsgSuccess
func (*CloseSessionResp) GetResponse ¶
func (m *CloseSessionResp) GetResponse() isCloseSessionResp_Response
func (*CloseSessionResp) ProtoMessage ¶
func (*CloseSessionResp) ProtoMessage()
func (*CloseSessionResp) ProtoReflect ¶
func (x *CloseSessionResp) ProtoReflect() protoreflect.Message
func (*CloseSessionResp) Reset ¶
func (x *CloseSessionResp) Reset()
func (*CloseSessionResp) String ¶
func (x *CloseSessionResp) String() string
type CloseSessionResp_Error ¶ added in v0.4.0
type CloseSessionResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type CloseSessionResp_MsgSuccess ¶
type CloseSessionResp_MsgSuccess struct { OpenPayChsInfo []*PayChInfo `protobuf:"bytes,1,rep,name=openPayChsInfo,proto3" json:"openPayChsInfo,omitempty"` // contains filtered or unexported fields }
func (*CloseSessionResp_MsgSuccess) Descriptor
deprecated
func (*CloseSessionResp_MsgSuccess) Descriptor() ([]byte, []int)
Deprecated: Use CloseSessionResp_MsgSuccess.ProtoReflect.Descriptor instead.
func (*CloseSessionResp_MsgSuccess) GetOpenPayChsInfo ¶ added in v0.4.0
func (x *CloseSessionResp_MsgSuccess) GetOpenPayChsInfo() []*PayChInfo
func (*CloseSessionResp_MsgSuccess) ProtoMessage ¶
func (*CloseSessionResp_MsgSuccess) ProtoMessage()
func (*CloseSessionResp_MsgSuccess) ProtoReflect ¶
func (x *CloseSessionResp_MsgSuccess) ProtoReflect() protoreflect.Message
func (*CloseSessionResp_MsgSuccess) Reset ¶
func (x *CloseSessionResp_MsgSuccess) Reset()
func (*CloseSessionResp_MsgSuccess) String ¶
func (x *CloseSessionResp_MsgSuccess) String() string
type CloseSessionResp_MsgSuccess_ ¶
type CloseSessionResp_MsgSuccess_ struct {
MsgSuccess *CloseSessionResp_MsgSuccess `protobuf:"bytes,1,opt,name=msgSuccess,proto3,oneof"`
}
type ContractErrInfo ¶ added in v0.6.0
type ContractErrInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*ContractErrInfo) Descriptor
deprecated
added in
v0.6.0
func (*ContractErrInfo) Descriptor() ([]byte, []int)
Deprecated: Use ContractErrInfo.ProtoReflect.Descriptor instead.
func (*ContractErrInfo) GetAddress ¶ added in v0.6.0
func (x *ContractErrInfo) GetAddress() string
func (*ContractErrInfo) GetError ¶ added in v0.6.0
func (x *ContractErrInfo) GetError() string
func (*ContractErrInfo) GetName ¶ added in v0.6.0
func (x *ContractErrInfo) GetName() string
func (*ContractErrInfo) ProtoMessage ¶ added in v0.6.0
func (*ContractErrInfo) ProtoMessage()
func (*ContractErrInfo) ProtoReflect ¶ added in v0.6.0
func (x *ContractErrInfo) ProtoReflect() protoreflect.Message
func (*ContractErrInfo) Reset ¶ added in v0.6.0
func (x *ContractErrInfo) Reset()
func (*ContractErrInfo) String ¶ added in v0.6.0
func (x *ContractErrInfo) String() string
type DeployAssetERC20Req ¶ added in v0.6.0
type DeployAssetERC20Req struct { SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"` TokenAddr string `protobuf:"bytes,2,opt,name=tokenAddr,proto3" json:"tokenAddr,omitempty"` // contains filtered or unexported fields }
func (*DeployAssetERC20Req) Descriptor
deprecated
added in
v0.6.0
func (*DeployAssetERC20Req) Descriptor() ([]byte, []int)
Deprecated: Use DeployAssetERC20Req.ProtoReflect.Descriptor instead.
func (*DeployAssetERC20Req) GetSessionID ¶ added in v0.6.0
func (x *DeployAssetERC20Req) GetSessionID() string
func (*DeployAssetERC20Req) GetTokenAddr ¶ added in v0.6.0
func (x *DeployAssetERC20Req) GetTokenAddr() string
func (*DeployAssetERC20Req) ProtoMessage ¶ added in v0.6.0
func (*DeployAssetERC20Req) ProtoMessage()
func (*DeployAssetERC20Req) ProtoReflect ¶ added in v0.6.0
func (x *DeployAssetERC20Req) ProtoReflect() protoreflect.Message
func (*DeployAssetERC20Req) Reset ¶ added in v0.6.0
func (x *DeployAssetERC20Req) Reset()
func (*DeployAssetERC20Req) String ¶ added in v0.6.0
func (x *DeployAssetERC20Req) String() string
type DeployAssetERC20Resp ¶ added in v0.6.0
type DeployAssetERC20Resp struct { // Types that are assignable to Response: // *DeployAssetERC20Resp_MsgSuccess_ // *DeployAssetERC20Resp_Error Response isDeployAssetERC20Resp_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*DeployAssetERC20Resp) Descriptor
deprecated
added in
v0.6.0
func (*DeployAssetERC20Resp) Descriptor() ([]byte, []int)
Deprecated: Use DeployAssetERC20Resp.ProtoReflect.Descriptor instead.
func (*DeployAssetERC20Resp) GetError ¶ added in v0.6.0
func (x *DeployAssetERC20Resp) GetError() *MsgError
func (*DeployAssetERC20Resp) GetMsgSuccess ¶ added in v0.6.0
func (x *DeployAssetERC20Resp) GetMsgSuccess() *DeployAssetERC20Resp_MsgSuccess
func (*DeployAssetERC20Resp) GetResponse ¶ added in v0.6.0
func (m *DeployAssetERC20Resp) GetResponse() isDeployAssetERC20Resp_Response
func (*DeployAssetERC20Resp) ProtoMessage ¶ added in v0.6.0
func (*DeployAssetERC20Resp) ProtoMessage()
func (*DeployAssetERC20Resp) ProtoReflect ¶ added in v0.6.0
func (x *DeployAssetERC20Resp) ProtoReflect() protoreflect.Message
func (*DeployAssetERC20Resp) Reset ¶ added in v0.6.0
func (x *DeployAssetERC20Resp) Reset()
func (*DeployAssetERC20Resp) String ¶ added in v0.6.0
func (x *DeployAssetERC20Resp) String() string
type DeployAssetERC20Resp_Error ¶ added in v0.6.0
type DeployAssetERC20Resp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type DeployAssetERC20Resp_MsgSuccess ¶ added in v0.6.0
type DeployAssetERC20Resp_MsgSuccess struct { AssetAddr string `protobuf:"bytes,2,opt,name=AssetAddr,proto3" json:"AssetAddr,omitempty"` // contains filtered or unexported fields }
func (*DeployAssetERC20Resp_MsgSuccess) Descriptor
deprecated
added in
v0.6.0
func (*DeployAssetERC20Resp_MsgSuccess) Descriptor() ([]byte, []int)
Deprecated: Use DeployAssetERC20Resp_MsgSuccess.ProtoReflect.Descriptor instead.
func (*DeployAssetERC20Resp_MsgSuccess) GetAssetAddr ¶ added in v0.6.0
func (x *DeployAssetERC20Resp_MsgSuccess) GetAssetAddr() string
func (*DeployAssetERC20Resp_MsgSuccess) ProtoMessage ¶ added in v0.6.0
func (*DeployAssetERC20Resp_MsgSuccess) ProtoMessage()
func (*DeployAssetERC20Resp_MsgSuccess) ProtoReflect ¶ added in v0.6.0
func (x *DeployAssetERC20Resp_MsgSuccess) ProtoReflect() protoreflect.Message
func (*DeployAssetERC20Resp_MsgSuccess) Reset ¶ added in v0.6.0
func (x *DeployAssetERC20Resp_MsgSuccess) Reset()
func (*DeployAssetERC20Resp_MsgSuccess) String ¶ added in v0.6.0
func (x *DeployAssetERC20Resp_MsgSuccess) String() string
type DeployAssetERC20Resp_MsgSuccess_ ¶ added in v0.6.0
type DeployAssetERC20Resp_MsgSuccess_ struct {
MsgSuccess *DeployAssetERC20Resp_MsgSuccess `protobuf:"bytes,1,opt,name=msgSuccess,proto3,oneof"`
}
type ErrInfoChainNotReachable ¶ added in v0.6.0
type ErrInfoChainNotReachable struct { ChainURL string `protobuf:"bytes,1,opt,name=chainURL,proto3" json:"chainURL,omitempty"` // contains filtered or unexported fields }
func (*ErrInfoChainNotReachable) Descriptor
deprecated
added in
v0.6.0
func (*ErrInfoChainNotReachable) Descriptor() ([]byte, []int)
Deprecated: Use ErrInfoChainNotReachable.ProtoReflect.Descriptor instead.
func (*ErrInfoChainNotReachable) GetChainURL ¶ added in v0.6.0
func (x *ErrInfoChainNotReachable) GetChainURL() string
func (*ErrInfoChainNotReachable) ProtoMessage ¶ added in v0.6.0
func (*ErrInfoChainNotReachable) ProtoMessage()
func (*ErrInfoChainNotReachable) ProtoReflect ¶ added in v0.6.0
func (x *ErrInfoChainNotReachable) ProtoReflect() protoreflect.Message
func (*ErrInfoChainNotReachable) Reset ¶ added in v0.6.0
func (x *ErrInfoChainNotReachable) Reset()
func (*ErrInfoChainNotReachable) String ¶ added in v0.6.0
func (x *ErrInfoChainNotReachable) String() string
type ErrInfoFailedPreCondUnclosedChs ¶ added in v0.6.0
type ErrInfoFailedPreCondUnclosedChs struct { Chs []*PayChInfo `protobuf:"bytes,1,rep,name=chs,proto3" json:"chs,omitempty"` // contains filtered or unexported fields }
func (*ErrInfoFailedPreCondUnclosedChs) Descriptor
deprecated
added in
v0.6.0
func (*ErrInfoFailedPreCondUnclosedChs) Descriptor() ([]byte, []int)
Deprecated: Use ErrInfoFailedPreCondUnclosedChs.ProtoReflect.Descriptor instead.
func (*ErrInfoFailedPreCondUnclosedChs) GetChs ¶ added in v0.6.0
func (x *ErrInfoFailedPreCondUnclosedChs) GetChs() []*PayChInfo
func (*ErrInfoFailedPreCondUnclosedChs) ProtoMessage ¶ added in v0.6.0
func (*ErrInfoFailedPreCondUnclosedChs) ProtoMessage()
func (*ErrInfoFailedPreCondUnclosedChs) ProtoReflect ¶ added in v0.6.0
func (x *ErrInfoFailedPreCondUnclosedChs) ProtoReflect() protoreflect.Message
func (*ErrInfoFailedPreCondUnclosedChs) Reset ¶ added in v0.6.0
func (x *ErrInfoFailedPreCondUnclosedChs) Reset()
func (*ErrInfoFailedPreCondUnclosedChs) String ¶ added in v0.6.0
func (x *ErrInfoFailedPreCondUnclosedChs) String() string
type ErrInfoInvalidArgument ¶ added in v0.6.0
type ErrInfoInvalidArgument struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Requirement string `protobuf:"bytes,3,opt,name=requirement,proto3" json:"requirement,omitempty"` // contains filtered or unexported fields }
func (*ErrInfoInvalidArgument) Descriptor
deprecated
added in
v0.6.0
func (*ErrInfoInvalidArgument) Descriptor() ([]byte, []int)
Deprecated: Use ErrInfoInvalidArgument.ProtoReflect.Descriptor instead.
func (*ErrInfoInvalidArgument) GetName ¶ added in v0.6.0
func (x *ErrInfoInvalidArgument) GetName() string
func (*ErrInfoInvalidArgument) GetRequirement ¶ added in v0.6.0
func (x *ErrInfoInvalidArgument) GetRequirement() string
func (*ErrInfoInvalidArgument) GetValue ¶ added in v0.6.0
func (x *ErrInfoInvalidArgument) GetValue() string
func (*ErrInfoInvalidArgument) ProtoMessage ¶ added in v0.6.0
func (*ErrInfoInvalidArgument) ProtoMessage()
func (*ErrInfoInvalidArgument) ProtoReflect ¶ added in v0.6.0
func (x *ErrInfoInvalidArgument) ProtoReflect() protoreflect.Message
func (*ErrInfoInvalidArgument) Reset ¶ added in v0.6.0
func (x *ErrInfoInvalidArgument) Reset()
func (*ErrInfoInvalidArgument) String ¶ added in v0.6.0
func (x *ErrInfoInvalidArgument) String() string
type ErrInfoInvalidConfig ¶ added in v0.6.0
type ErrInfoInvalidConfig struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ErrInfoInvalidConfig) Descriptor
deprecated
added in
v0.6.0
func (*ErrInfoInvalidConfig) Descriptor() ([]byte, []int)
Deprecated: Use ErrInfoInvalidConfig.ProtoReflect.Descriptor instead.
func (*ErrInfoInvalidConfig) GetName ¶ added in v0.6.0
func (x *ErrInfoInvalidConfig) GetName() string
func (*ErrInfoInvalidConfig) GetValue ¶ added in v0.6.0
func (x *ErrInfoInvalidConfig) GetValue() string
func (*ErrInfoInvalidConfig) ProtoMessage ¶ added in v0.6.0
func (*ErrInfoInvalidConfig) ProtoMessage()
func (*ErrInfoInvalidConfig) ProtoReflect ¶ added in v0.6.0
func (x *ErrInfoInvalidConfig) ProtoReflect() protoreflect.Message
func (*ErrInfoInvalidConfig) Reset ¶ added in v0.6.0
func (x *ErrInfoInvalidConfig) Reset()
func (*ErrInfoInvalidConfig) String ¶ added in v0.6.0
func (x *ErrInfoInvalidConfig) String() string
type ErrInfoInvalidContracts ¶ added in v0.6.0
type ErrInfoInvalidContracts struct { ContractErrInfos []*ContractErrInfo `protobuf:"bytes,1,rep,name=ContractErrInfos,proto3" json:"ContractErrInfos,omitempty"` // contains filtered or unexported fields }
func (*ErrInfoInvalidContracts) Descriptor
deprecated
added in
v0.6.0
func (*ErrInfoInvalidContracts) Descriptor() ([]byte, []int)
Deprecated: Use ErrInfoInvalidContracts.ProtoReflect.Descriptor instead.
func (*ErrInfoInvalidContracts) GetContractErrInfos ¶ added in v0.6.0
func (x *ErrInfoInvalidContracts) GetContractErrInfos() []*ContractErrInfo
func (*ErrInfoInvalidContracts) ProtoMessage ¶ added in v0.6.0
func (*ErrInfoInvalidContracts) ProtoMessage()
func (*ErrInfoInvalidContracts) ProtoReflect ¶ added in v0.6.0
func (x *ErrInfoInvalidContracts) ProtoReflect() protoreflect.Message
func (*ErrInfoInvalidContracts) Reset ¶ added in v0.6.0
func (x *ErrInfoInvalidContracts) Reset()
func (*ErrInfoInvalidContracts) String ¶ added in v0.6.0
func (x *ErrInfoInvalidContracts) String() string
type ErrInfoPeerNotFunded ¶ added in v0.6.0
type ErrInfoPeerNotFunded struct { PeerAlias string `protobuf:"bytes,1,opt,name=peerAlias,proto3" json:"peerAlias,omitempty"` // contains filtered or unexported fields }
func (*ErrInfoPeerNotFunded) Descriptor
deprecated
added in
v0.6.0
func (*ErrInfoPeerNotFunded) Descriptor() ([]byte, []int)
Deprecated: Use ErrInfoPeerNotFunded.ProtoReflect.Descriptor instead.
func (*ErrInfoPeerNotFunded) GetPeerAlias ¶ added in v0.6.0
func (x *ErrInfoPeerNotFunded) GetPeerAlias() string
func (*ErrInfoPeerNotFunded) ProtoMessage ¶ added in v0.6.0
func (*ErrInfoPeerNotFunded) ProtoMessage()
func (*ErrInfoPeerNotFunded) ProtoReflect ¶ added in v0.6.0
func (x *ErrInfoPeerNotFunded) ProtoReflect() protoreflect.Message
func (*ErrInfoPeerNotFunded) Reset ¶ added in v0.6.0
func (x *ErrInfoPeerNotFunded) Reset()
func (*ErrInfoPeerNotFunded) String ¶ added in v0.6.0
func (x *ErrInfoPeerNotFunded) String() string
type ErrInfoPeerRejected ¶ added in v0.6.0
type ErrInfoPeerRejected struct { PeerAlias string `protobuf:"bytes,1,opt,name=peerAlias,proto3" json:"peerAlias,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*ErrInfoPeerRejected) Descriptor
deprecated
added in
v0.6.0
func (*ErrInfoPeerRejected) Descriptor() ([]byte, []int)
Deprecated: Use ErrInfoPeerRejected.ProtoReflect.Descriptor instead.
func (*ErrInfoPeerRejected) GetPeerAlias ¶ added in v0.6.0
func (x *ErrInfoPeerRejected) GetPeerAlias() string
func (*ErrInfoPeerRejected) GetReason ¶ added in v0.6.0
func (x *ErrInfoPeerRejected) GetReason() string
func (*ErrInfoPeerRejected) ProtoMessage ¶ added in v0.6.0
func (*ErrInfoPeerRejected) ProtoMessage()
func (*ErrInfoPeerRejected) ProtoReflect ¶ added in v0.6.0
func (x *ErrInfoPeerRejected) ProtoReflect() protoreflect.Message
func (*ErrInfoPeerRejected) Reset ¶ added in v0.6.0
func (x *ErrInfoPeerRejected) Reset()
func (*ErrInfoPeerRejected) String ¶ added in v0.6.0
func (x *ErrInfoPeerRejected) String() string
type ErrInfoPeerRequestTimedOut ¶ added in v0.6.0
type ErrInfoPeerRequestTimedOut struct { PeerAlias string `protobuf:"bytes,1,opt,name=peerAlias,proto3" json:"peerAlias,omitempty"` Timeout string `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*ErrInfoPeerRequestTimedOut) Descriptor
deprecated
added in
v0.6.0
func (*ErrInfoPeerRequestTimedOut) Descriptor() ([]byte, []int)
Deprecated: Use ErrInfoPeerRequestTimedOut.ProtoReflect.Descriptor instead.
func (*ErrInfoPeerRequestTimedOut) GetPeerAlias ¶ added in v0.6.0
func (x *ErrInfoPeerRequestTimedOut) GetPeerAlias() string
func (*ErrInfoPeerRequestTimedOut) GetTimeout ¶ added in v0.6.0
func (x *ErrInfoPeerRequestTimedOut) GetTimeout() string
func (*ErrInfoPeerRequestTimedOut) ProtoMessage ¶ added in v0.6.0
func (*ErrInfoPeerRequestTimedOut) ProtoMessage()
func (*ErrInfoPeerRequestTimedOut) ProtoReflect ¶ added in v0.6.0
func (x *ErrInfoPeerRequestTimedOut) ProtoReflect() protoreflect.Message
func (*ErrInfoPeerRequestTimedOut) Reset ¶ added in v0.6.0
func (x *ErrInfoPeerRequestTimedOut) Reset()
func (*ErrInfoPeerRequestTimedOut) String ¶ added in v0.6.0
func (x *ErrInfoPeerRequestTimedOut) String() string
type ErrInfoResourceExists ¶ added in v0.6.0
type ErrInfoResourceExists struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ErrInfoResourceExists) Descriptor
deprecated
added in
v0.6.0
func (*ErrInfoResourceExists) Descriptor() ([]byte, []int)
Deprecated: Use ErrInfoResourceExists.ProtoReflect.Descriptor instead.
func (*ErrInfoResourceExists) GetId ¶ added in v0.6.0
func (x *ErrInfoResourceExists) GetId() string
func (*ErrInfoResourceExists) GetType ¶ added in v0.6.0
func (x *ErrInfoResourceExists) GetType() string
func (*ErrInfoResourceExists) ProtoMessage ¶ added in v0.6.0
func (*ErrInfoResourceExists) ProtoMessage()
func (*ErrInfoResourceExists) ProtoReflect ¶ added in v0.6.0
func (x *ErrInfoResourceExists) ProtoReflect() protoreflect.Message
func (*ErrInfoResourceExists) Reset ¶ added in v0.6.0
func (x *ErrInfoResourceExists) Reset()
func (*ErrInfoResourceExists) String ¶ added in v0.6.0
func (x *ErrInfoResourceExists) String() string
type ErrInfoResourceNotFound ¶ added in v0.6.0
type ErrInfoResourceNotFound struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ErrInfoResourceNotFound) Descriptor
deprecated
added in
v0.6.0
func (*ErrInfoResourceNotFound) Descriptor() ([]byte, []int)
Deprecated: Use ErrInfoResourceNotFound.ProtoReflect.Descriptor instead.
func (*ErrInfoResourceNotFound) GetId ¶ added in v0.6.0
func (x *ErrInfoResourceNotFound) GetId() string
func (*ErrInfoResourceNotFound) GetType ¶ added in v0.6.0
func (x *ErrInfoResourceNotFound) GetType() string
func (*ErrInfoResourceNotFound) ProtoMessage ¶ added in v0.6.0
func (*ErrInfoResourceNotFound) ProtoMessage()
func (*ErrInfoResourceNotFound) ProtoReflect ¶ added in v0.6.0
func (x *ErrInfoResourceNotFound) ProtoReflect() protoreflect.Message
func (*ErrInfoResourceNotFound) Reset ¶ added in v0.6.0
func (x *ErrInfoResourceNotFound) Reset()
func (*ErrInfoResourceNotFound) String ¶ added in v0.6.0
func (x *ErrInfoResourceNotFound) String() string
type ErrInfoTxTimedOut ¶ added in v0.6.0
type ErrInfoTxTimedOut struct { TxType string `protobuf:"bytes,1,opt,name=txType,proto3" json:"txType,omitempty"` TxID string `protobuf:"bytes,2,opt,name=txID,proto3" json:"txID,omitempty"` TxTimeout string `protobuf:"bytes,3,opt,name=txTimeout,proto3" json:"txTimeout,omitempty"` // contains filtered or unexported fields }
func (*ErrInfoTxTimedOut) Descriptor
deprecated
added in
v0.6.0
func (*ErrInfoTxTimedOut) Descriptor() ([]byte, []int)
Deprecated: Use ErrInfoTxTimedOut.ProtoReflect.Descriptor instead.
func (*ErrInfoTxTimedOut) GetTxID ¶ added in v0.6.0
func (x *ErrInfoTxTimedOut) GetTxID() string
func (*ErrInfoTxTimedOut) GetTxTimeout ¶ added in v0.6.0
func (x *ErrInfoTxTimedOut) GetTxTimeout() string
func (*ErrInfoTxTimedOut) GetTxType ¶ added in v0.6.0
func (x *ErrInfoTxTimedOut) GetTxType() string
func (*ErrInfoTxTimedOut) ProtoMessage ¶ added in v0.6.0
func (*ErrInfoTxTimedOut) ProtoMessage()
func (*ErrInfoTxTimedOut) ProtoReflect ¶ added in v0.6.0
func (x *ErrInfoTxTimedOut) ProtoReflect() protoreflect.Message
func (*ErrInfoTxTimedOut) Reset ¶ added in v0.6.0
func (x *ErrInfoTxTimedOut) Reset()
func (*ErrInfoTxTimedOut) String ¶ added in v0.6.0
func (x *ErrInfoTxTimedOut) String() string
type ErrInfoUserResponseTimedOut ¶ added in v0.6.0
type ErrInfoUserResponseTimedOut struct { Expiry int64 `protobuf:"varint,1,opt,name=expiry,proto3" json:"expiry,omitempty"` ReceivedAt int64 `protobuf:"varint,2,opt,name=receivedAt,proto3" json:"receivedAt,omitempty"` // contains filtered or unexported fields }
func (*ErrInfoUserResponseTimedOut) Descriptor
deprecated
added in
v0.6.0
func (*ErrInfoUserResponseTimedOut) Descriptor() ([]byte, []int)
Deprecated: Use ErrInfoUserResponseTimedOut.ProtoReflect.Descriptor instead.
func (*ErrInfoUserResponseTimedOut) GetExpiry ¶ added in v0.6.0
func (x *ErrInfoUserResponseTimedOut) GetExpiry() int64
func (*ErrInfoUserResponseTimedOut) GetReceivedAt ¶ added in v0.6.0
func (x *ErrInfoUserResponseTimedOut) GetReceivedAt() int64
func (*ErrInfoUserResponseTimedOut) ProtoMessage ¶ added in v0.6.0
func (*ErrInfoUserResponseTimedOut) ProtoMessage()
func (*ErrInfoUserResponseTimedOut) ProtoReflect ¶ added in v0.6.0
func (x *ErrInfoUserResponseTimedOut) ProtoReflect() protoreflect.Message
func (*ErrInfoUserResponseTimedOut) Reset ¶ added in v0.6.0
func (x *ErrInfoUserResponseTimedOut) Reset()
func (*ErrInfoUserResponseTimedOut) String ¶ added in v0.6.0
func (x *ErrInfoUserResponseTimedOut) String() string
type ErrorCategory ¶ added in v0.6.0
type ErrorCategory int32
const ( ErrorCategory_ParticipantError ErrorCategory = 0 ErrorCategory_ClientError ErrorCategory = 1 ErrorCategory_ProtocolError ErrorCategory = 2 ErrorCategory_InternalError ErrorCategory = 3 )
func (ErrorCategory) Descriptor ¶ added in v0.6.0
func (ErrorCategory) Descriptor() protoreflect.EnumDescriptor
func (ErrorCategory) Enum ¶ added in v0.6.0
func (x ErrorCategory) Enum() *ErrorCategory
func (ErrorCategory) EnumDescriptor
deprecated
added in
v0.6.0
func (ErrorCategory) EnumDescriptor() ([]byte, []int)
Deprecated: Use ErrorCategory.Descriptor instead.
func (ErrorCategory) Number ¶ added in v0.6.0
func (x ErrorCategory) Number() protoreflect.EnumNumber
func (ErrorCategory) String ¶ added in v0.6.0
func (x ErrorCategory) String() string
func (ErrorCategory) Type ¶ added in v0.6.0
func (ErrorCategory) Type() protoreflect.EnumType
type ErrorCode ¶ added in v0.6.0
type ErrorCode int32
const ( // Though "0" is an invalid error code, we still define it, because //proto3 requires that every enum definition should have 0 mapped to //atleast one constant. ErrorCode_DefaultInvalidCode ErrorCode = 0 ErrorCode_ErrPeerRequestTimedOut ErrorCode = 101 ErrorCode_ErrPeerRejected ErrorCode = 102 ErrorCode_ErrPeerNotFunded ErrorCode = 103 ErrorCode_ErrUserResponseTimedOut ErrorCode = 104 ErrorCode_ErrResourceNotFound ErrorCode = 201 ErrorCode_ErrResourceExists ErrorCode = 202 ErrorCode_ErrInvalidArgument ErrorCode = 203 ErrorCode_ErrFailedPreCondition ErrorCode = 204 ErrorCode_ErrInvalidConfig ErrorCode = 205 ErrorCode_ErrInvalidContracts ErrorCode = 206 ErrorCode_ErrTxTimedOut ErrorCode = 301 ErrorCode_ErrChainNotReachable ErrorCode = 302 ErrorCode_ErrUnknownInternal ErrorCode = 401 )
func (ErrorCode) Descriptor ¶ added in v0.6.0
func (ErrorCode) Descriptor() protoreflect.EnumDescriptor
func (ErrorCode) EnumDescriptor
deprecated
added in
v0.6.0
func (ErrorCode) Number ¶ added in v0.6.0
func (x ErrorCode) Number() protoreflect.EnumNumber
func (ErrorCode) Type ¶ added in v0.6.0
func (ErrorCode) Type() protoreflect.EnumType
type GetConfigReq ¶
type GetConfigReq struct {
// contains filtered or unexported fields
}
func (*GetConfigReq) Descriptor
deprecated
func (*GetConfigReq) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigReq.ProtoReflect.Descriptor instead.
func (*GetConfigReq) ProtoMessage ¶
func (*GetConfigReq) ProtoMessage()
func (*GetConfigReq) ProtoReflect ¶
func (x *GetConfigReq) ProtoReflect() protoreflect.Message
func (*GetConfigReq) Reset ¶
func (x *GetConfigReq) Reset()
func (*GetConfigReq) String ¶
func (x *GetConfigReq) String() string
type GetConfigResp ¶
type GetConfigResp struct { ChainAddress string `protobuf:"bytes,1,opt,name=chainAddress,proto3" json:"chainAddress,omitempty"` Adjudicator string `protobuf:"bytes,2,opt,name=adjudicator,proto3" json:"adjudicator,omitempty"` AssetETH string `protobuf:"bytes,3,opt,name=assetETH,proto3" json:"assetETH,omitempty"` CommTypes []string `protobuf:"bytes,4,rep,name=commTypes,proto3" json:"commTypes,omitempty"` IdProviderTypes []string `protobuf:"bytes,5,rep,name=idProviderTypes,proto3" json:"idProviderTypes,omitempty"` // contains filtered or unexported fields }
func (*GetConfigResp) Descriptor
deprecated
func (*GetConfigResp) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigResp.ProtoReflect.Descriptor instead.
func (*GetConfigResp) GetAdjudicator ¶ added in v0.6.0
func (x *GetConfigResp) GetAdjudicator() string
func (*GetConfigResp) GetAssetETH ¶ added in v0.6.0
func (x *GetConfigResp) GetAssetETH() string
func (*GetConfigResp) GetChainAddress ¶
func (x *GetConfigResp) GetChainAddress() string
func (*GetConfigResp) GetCommTypes ¶
func (x *GetConfigResp) GetCommTypes() []string
func (*GetConfigResp) GetIdProviderTypes ¶ added in v0.5.0
func (x *GetConfigResp) GetIdProviderTypes() []string
func (*GetConfigResp) ProtoMessage ¶
func (*GetConfigResp) ProtoMessage()
func (*GetConfigResp) ProtoReflect ¶
func (x *GetConfigResp) ProtoReflect() protoreflect.Message
func (*GetConfigResp) Reset ¶
func (x *GetConfigResp) Reset()
func (*GetConfigResp) String ¶
func (x *GetConfigResp) String() string
type GetPayChInfoReq ¶ added in v0.4.0
type GetPayChInfoReq struct { SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"` ChID string `protobuf:"bytes,2,opt,name=chID,proto3" json:"chID,omitempty"` // contains filtered or unexported fields }
func (*GetPayChInfoReq) Descriptor
deprecated
added in
v0.4.0
func (*GetPayChInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use GetPayChInfoReq.ProtoReflect.Descriptor instead.
func (*GetPayChInfoReq) GetChID ¶ added in v0.4.0
func (x *GetPayChInfoReq) GetChID() string
func (*GetPayChInfoReq) GetSessionID ¶ added in v0.4.0
func (x *GetPayChInfoReq) GetSessionID() string
func (*GetPayChInfoReq) ProtoMessage ¶ added in v0.4.0
func (*GetPayChInfoReq) ProtoMessage()
func (*GetPayChInfoReq) ProtoReflect ¶ added in v0.4.0
func (x *GetPayChInfoReq) ProtoReflect() protoreflect.Message
func (*GetPayChInfoReq) Reset ¶ added in v0.4.0
func (x *GetPayChInfoReq) Reset()
func (*GetPayChInfoReq) String ¶ added in v0.4.0
func (x *GetPayChInfoReq) String() string
type GetPayChInfoResp ¶ added in v0.4.0
type GetPayChInfoResp struct { // Types that are assignable to Response: // *GetPayChInfoResp_MsgSuccess_ // *GetPayChInfoResp_Error Response isGetPayChInfoResp_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*GetPayChInfoResp) Descriptor
deprecated
added in
v0.4.0
func (*GetPayChInfoResp) Descriptor() ([]byte, []int)
Deprecated: Use GetPayChInfoResp.ProtoReflect.Descriptor instead.
func (*GetPayChInfoResp) GetError ¶ added in v0.4.0
func (x *GetPayChInfoResp) GetError() *MsgError
func (*GetPayChInfoResp) GetMsgSuccess ¶ added in v0.4.0
func (x *GetPayChInfoResp) GetMsgSuccess() *GetPayChInfoResp_MsgSuccess
func (*GetPayChInfoResp) GetResponse ¶ added in v0.4.0
func (m *GetPayChInfoResp) GetResponse() isGetPayChInfoResp_Response
func (*GetPayChInfoResp) ProtoMessage ¶ added in v0.4.0
func (*GetPayChInfoResp) ProtoMessage()
func (*GetPayChInfoResp) ProtoReflect ¶ added in v0.4.0
func (x *GetPayChInfoResp) ProtoReflect() protoreflect.Message
func (*GetPayChInfoResp) Reset ¶ added in v0.4.0
func (x *GetPayChInfoResp) Reset()
func (*GetPayChInfoResp) String ¶ added in v0.4.0
func (x *GetPayChInfoResp) String() string
type GetPayChInfoResp_Error ¶ added in v0.4.0
type GetPayChInfoResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type GetPayChInfoResp_MsgSuccess ¶ added in v0.4.0
type GetPayChInfoResp_MsgSuccess struct { PayChInfo *PayChInfo `protobuf:"bytes,1,opt,name=payChInfo,proto3" json:"payChInfo,omitempty"` // contains filtered or unexported fields }
func (*GetPayChInfoResp_MsgSuccess) Descriptor
deprecated
added in
v0.4.0
func (*GetPayChInfoResp_MsgSuccess) Descriptor() ([]byte, []int)
Deprecated: Use GetPayChInfoResp_MsgSuccess.ProtoReflect.Descriptor instead.
func (*GetPayChInfoResp_MsgSuccess) GetPayChInfo ¶ added in v0.4.0
func (x *GetPayChInfoResp_MsgSuccess) GetPayChInfo() *PayChInfo
func (*GetPayChInfoResp_MsgSuccess) ProtoMessage ¶ added in v0.4.0
func (*GetPayChInfoResp_MsgSuccess) ProtoMessage()
func (*GetPayChInfoResp_MsgSuccess) ProtoReflect ¶ added in v0.4.0
func (x *GetPayChInfoResp_MsgSuccess) ProtoReflect() protoreflect.Message
func (*GetPayChInfoResp_MsgSuccess) Reset ¶ added in v0.4.0
func (x *GetPayChInfoResp_MsgSuccess) Reset()
func (*GetPayChInfoResp_MsgSuccess) String ¶ added in v0.4.0
func (x *GetPayChInfoResp_MsgSuccess) String() string
type GetPayChInfoResp_MsgSuccess_ ¶ added in v0.4.0
type GetPayChInfoResp_MsgSuccess_ struct {
MsgSuccess *GetPayChInfoResp_MsgSuccess `protobuf:"bytes,1,opt,name=msgSuccess,proto3,oneof"`
}
type GetPayChsInfoReq ¶ added in v0.4.0
type GetPayChsInfoReq struct { SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"` // contains filtered or unexported fields }
func (*GetPayChsInfoReq) Descriptor
deprecated
added in
v0.4.0
func (*GetPayChsInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use GetPayChsInfoReq.ProtoReflect.Descriptor instead.
func (*GetPayChsInfoReq) GetSessionID ¶ added in v0.4.0
func (x *GetPayChsInfoReq) GetSessionID() string
func (*GetPayChsInfoReq) ProtoMessage ¶ added in v0.4.0
func (*GetPayChsInfoReq) ProtoMessage()
func (*GetPayChsInfoReq) ProtoReflect ¶ added in v0.4.0
func (x *GetPayChsInfoReq) ProtoReflect() protoreflect.Message
func (*GetPayChsInfoReq) Reset ¶ added in v0.4.0
func (x *GetPayChsInfoReq) Reset()
func (*GetPayChsInfoReq) String ¶ added in v0.4.0
func (x *GetPayChsInfoReq) String() string
type GetPayChsInfoResp ¶ added in v0.4.0
type GetPayChsInfoResp struct { // Types that are assignable to Response: // *GetPayChsInfoResp_MsgSuccess_ // *GetPayChsInfoResp_Error Response isGetPayChsInfoResp_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*GetPayChsInfoResp) Descriptor
deprecated
added in
v0.4.0
func (*GetPayChsInfoResp) Descriptor() ([]byte, []int)
Deprecated: Use GetPayChsInfoResp.ProtoReflect.Descriptor instead.
func (*GetPayChsInfoResp) GetError ¶ added in v0.4.0
func (x *GetPayChsInfoResp) GetError() *MsgError
func (*GetPayChsInfoResp) GetMsgSuccess ¶ added in v0.4.0
func (x *GetPayChsInfoResp) GetMsgSuccess() *GetPayChsInfoResp_MsgSuccess
func (*GetPayChsInfoResp) GetResponse ¶ added in v0.4.0
func (m *GetPayChsInfoResp) GetResponse() isGetPayChsInfoResp_Response
func (*GetPayChsInfoResp) ProtoMessage ¶ added in v0.4.0
func (*GetPayChsInfoResp) ProtoMessage()
func (*GetPayChsInfoResp) ProtoReflect ¶ added in v0.4.0
func (x *GetPayChsInfoResp) ProtoReflect() protoreflect.Message
func (*GetPayChsInfoResp) Reset ¶ added in v0.4.0
func (x *GetPayChsInfoResp) Reset()
func (*GetPayChsInfoResp) String ¶ added in v0.4.0
func (x *GetPayChsInfoResp) String() string
type GetPayChsInfoResp_Error ¶ added in v0.4.0
type GetPayChsInfoResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type GetPayChsInfoResp_MsgSuccess ¶ added in v0.4.0
type GetPayChsInfoResp_MsgSuccess struct { OpenPayChsInfo []*PayChInfo `protobuf:"bytes,1,rep,name=openPayChsInfo,proto3" json:"openPayChsInfo,omitempty"` // contains filtered or unexported fields }
func (*GetPayChsInfoResp_MsgSuccess) Descriptor
deprecated
added in
v0.4.0
func (*GetPayChsInfoResp_MsgSuccess) Descriptor() ([]byte, []int)
Deprecated: Use GetPayChsInfoResp_MsgSuccess.ProtoReflect.Descriptor instead.
func (*GetPayChsInfoResp_MsgSuccess) GetOpenPayChsInfo ¶ added in v0.4.0
func (x *GetPayChsInfoResp_MsgSuccess) GetOpenPayChsInfo() []*PayChInfo
func (*GetPayChsInfoResp_MsgSuccess) ProtoMessage ¶ added in v0.4.0
func (*GetPayChsInfoResp_MsgSuccess) ProtoMessage()
func (*GetPayChsInfoResp_MsgSuccess) ProtoReflect ¶ added in v0.4.0
func (x *GetPayChsInfoResp_MsgSuccess) ProtoReflect() protoreflect.Message
func (*GetPayChsInfoResp_MsgSuccess) Reset ¶ added in v0.4.0
func (x *GetPayChsInfoResp_MsgSuccess) Reset()
func (*GetPayChsInfoResp_MsgSuccess) String ¶ added in v0.4.0
func (x *GetPayChsInfoResp_MsgSuccess) String() string
type GetPayChsInfoResp_MsgSuccess_ ¶ added in v0.4.0
type GetPayChsInfoResp_MsgSuccess_ struct {
MsgSuccess *GetPayChsInfoResp_MsgSuccess `protobuf:"bytes,1,opt,name=msgSuccess,proto3,oneof"`
}
type GetPeerIDReq ¶ added in v0.5.0
type GetPeerIDReq struct { SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"` Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` // contains filtered or unexported fields }
func (*GetPeerIDReq) Descriptor
deprecated
added in
v0.5.0
func (*GetPeerIDReq) Descriptor() ([]byte, []int)
Deprecated: Use GetPeerIDReq.ProtoReflect.Descriptor instead.
func (*GetPeerIDReq) GetAlias ¶ added in v0.5.0
func (x *GetPeerIDReq) GetAlias() string
func (*GetPeerIDReq) GetSessionID ¶ added in v0.5.0
func (x *GetPeerIDReq) GetSessionID() string
func (*GetPeerIDReq) ProtoMessage ¶ added in v0.5.0
func (*GetPeerIDReq) ProtoMessage()
func (*GetPeerIDReq) ProtoReflect ¶ added in v0.5.0
func (x *GetPeerIDReq) ProtoReflect() protoreflect.Message
func (*GetPeerIDReq) Reset ¶ added in v0.5.0
func (x *GetPeerIDReq) Reset()
func (*GetPeerIDReq) String ¶ added in v0.5.0
func (x *GetPeerIDReq) String() string
type GetPeerIDResp ¶ added in v0.5.0
type GetPeerIDResp struct { // Types that are assignable to Response: // *GetPeerIDResp_MsgSuccess_ // *GetPeerIDResp_Error Response isGetPeerIDResp_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*GetPeerIDResp) Descriptor
deprecated
added in
v0.5.0
func (*GetPeerIDResp) Descriptor() ([]byte, []int)
Deprecated: Use GetPeerIDResp.ProtoReflect.Descriptor instead.
func (*GetPeerIDResp) GetError ¶ added in v0.5.0
func (x *GetPeerIDResp) GetError() *MsgError
func (*GetPeerIDResp) GetMsgSuccess ¶ added in v0.5.0
func (x *GetPeerIDResp) GetMsgSuccess() *GetPeerIDResp_MsgSuccess
func (*GetPeerIDResp) GetResponse ¶ added in v0.5.0
func (m *GetPeerIDResp) GetResponse() isGetPeerIDResp_Response
func (*GetPeerIDResp) ProtoMessage ¶ added in v0.5.0
func (*GetPeerIDResp) ProtoMessage()
func (*GetPeerIDResp) ProtoReflect ¶ added in v0.5.0
func (x *GetPeerIDResp) ProtoReflect() protoreflect.Message
func (*GetPeerIDResp) Reset ¶ added in v0.5.0
func (x *GetPeerIDResp) Reset()
func (*GetPeerIDResp) String ¶ added in v0.5.0
func (x *GetPeerIDResp) String() string
type GetPeerIDResp_Error ¶ added in v0.5.0
type GetPeerIDResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type GetPeerIDResp_MsgSuccess ¶ added in v0.5.0
type GetPeerIDResp_MsgSuccess struct { PeerID *PeerID `protobuf:"bytes,1,opt,name=peerID,proto3" json:"peerID,omitempty"` // contains filtered or unexported fields }
func (*GetPeerIDResp_MsgSuccess) Descriptor
deprecated
added in
v0.5.0
func (*GetPeerIDResp_MsgSuccess) Descriptor() ([]byte, []int)
Deprecated: Use GetPeerIDResp_MsgSuccess.ProtoReflect.Descriptor instead.
func (*GetPeerIDResp_MsgSuccess) GetPeerID ¶ added in v0.5.0
func (x *GetPeerIDResp_MsgSuccess) GetPeerID() *PeerID
func (*GetPeerIDResp_MsgSuccess) ProtoMessage ¶ added in v0.5.0
func (*GetPeerIDResp_MsgSuccess) ProtoMessage()
func (*GetPeerIDResp_MsgSuccess) ProtoReflect ¶ added in v0.5.0
func (x *GetPeerIDResp_MsgSuccess) ProtoReflect() protoreflect.Message
func (*GetPeerIDResp_MsgSuccess) Reset ¶ added in v0.5.0
func (x *GetPeerIDResp_MsgSuccess) Reset()
func (*GetPeerIDResp_MsgSuccess) String ¶ added in v0.5.0
func (x *GetPeerIDResp_MsgSuccess) String() string
type GetPeerIDResp_MsgSuccess_ ¶ added in v0.5.0
type GetPeerIDResp_MsgSuccess_ struct {
MsgSuccess *GetPeerIDResp_MsgSuccess `protobuf:"bytes,1,opt,name=msgSuccess,proto3,oneof"`
}
type HelpReq ¶
type HelpReq struct {
// contains filtered or unexported fields
}
func (*HelpReq) Descriptor
deprecated
func (*HelpReq) ProtoMessage ¶
func (*HelpReq) ProtoMessage()
func (*HelpReq) ProtoReflect ¶
func (x *HelpReq) ProtoReflect() protoreflect.Message
type HelpResp ¶
type HelpResp struct { Apis []string `protobuf:"bytes,1,rep,name=apis,proto3" json:"apis,omitempty"` // contains filtered or unexported fields }
func (*HelpResp) Descriptor
deprecated
func (*HelpResp) ProtoMessage ¶
func (*HelpResp) ProtoMessage()
func (*HelpResp) ProtoReflect ¶
func (x *HelpResp) ProtoReflect() protoreflect.Message
type MsgError ¶
type MsgError struct { Category ErrorCategory `protobuf:"varint,1,opt,name=category,proto3,enum=pb.ErrorCategory" json:"category,omitempty"` Code ErrorCode `protobuf:"varint,2,opt,name=code,proto3,enum=pb.ErrorCode" json:"code,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // Types that are assignable to AddInfo: // *MsgError_ErrInfoPeerRequestTimedOut // *MsgError_ErrInfoPeerRejected // *MsgError_ErrInfoPeerNotFunded // *MsgError_ErrInfoUserResponseTimedOut // *MsgError_ErrInfoResourceNotFound // *MsgError_ErrInfoResourceExists // *MsgError_ErrInfoInvalidArgument // *MsgError_ErrInfoFailedPreCondUnclosedChs // *MsgError_ErrInfoInvalidConfig // *MsgError_ErrInfoInvalidContracts // *MsgError_ErrInfoTxTimedOut // *MsgError_ErrInfoChainNotReachable AddInfo isMsgError_AddInfo `protobuf_oneof:"addInfo"` // contains filtered or unexported fields }
func (*MsgError) Descriptor
deprecated
func (*MsgError) GetAddInfo ¶ added in v0.6.0
func (m *MsgError) GetAddInfo() isMsgError_AddInfo
func (*MsgError) GetCategory ¶ added in v0.6.0
func (x *MsgError) GetCategory() ErrorCategory
func (*MsgError) GetErrInfoChainNotReachable ¶ added in v0.6.0
func (x *MsgError) GetErrInfoChainNotReachable() *ErrInfoChainNotReachable
func (*MsgError) GetErrInfoFailedPreCondUnclosedChs ¶ added in v0.6.0
func (x *MsgError) GetErrInfoFailedPreCondUnclosedChs() *ErrInfoFailedPreCondUnclosedChs
func (*MsgError) GetErrInfoInvalidArgument ¶ added in v0.6.0
func (x *MsgError) GetErrInfoInvalidArgument() *ErrInfoInvalidArgument
func (*MsgError) GetErrInfoInvalidConfig ¶ added in v0.6.0
func (x *MsgError) GetErrInfoInvalidConfig() *ErrInfoInvalidConfig
func (*MsgError) GetErrInfoInvalidContracts ¶ added in v0.6.0
func (x *MsgError) GetErrInfoInvalidContracts() *ErrInfoInvalidContracts
func (*MsgError) GetErrInfoPeerNotFunded ¶ added in v0.6.0
func (x *MsgError) GetErrInfoPeerNotFunded() *ErrInfoPeerNotFunded
func (*MsgError) GetErrInfoPeerRejected ¶ added in v0.6.0
func (x *MsgError) GetErrInfoPeerRejected() *ErrInfoPeerRejected
func (*MsgError) GetErrInfoPeerRequestTimedOut ¶ added in v0.6.0
func (x *MsgError) GetErrInfoPeerRequestTimedOut() *ErrInfoPeerRequestTimedOut
func (*MsgError) GetErrInfoResourceExists ¶ added in v0.6.0
func (x *MsgError) GetErrInfoResourceExists() *ErrInfoResourceExists
func (*MsgError) GetErrInfoResourceNotFound ¶ added in v0.6.0
func (x *MsgError) GetErrInfoResourceNotFound() *ErrInfoResourceNotFound
func (*MsgError) GetErrInfoTxTimedOut ¶ added in v0.6.0
func (x *MsgError) GetErrInfoTxTimedOut() *ErrInfoTxTimedOut
func (*MsgError) GetErrInfoUserResponseTimedOut ¶ added in v0.6.0
func (x *MsgError) GetErrInfoUserResponseTimedOut() *ErrInfoUserResponseTimedOut
func (*MsgError) GetMessage ¶ added in v0.6.0
func (*MsgError) ProtoMessage ¶
func (*MsgError) ProtoMessage()
func (*MsgError) ProtoReflect ¶
func (x *MsgError) ProtoReflect() protoreflect.Message
type MsgError_ErrInfoChainNotReachable ¶ added in v0.6.0
type MsgError_ErrInfoChainNotReachable struct {
ErrInfoChainNotReachable *ErrInfoChainNotReachable `protobuf:"bytes,16,opt,name=ErrInfoChainNotReachable,proto3,oneof"`
}
type MsgError_ErrInfoFailedPreCondUnclosedChs ¶ added in v0.6.0
type MsgError_ErrInfoFailedPreCondUnclosedChs struct {
ErrInfoFailedPreCondUnclosedChs *ErrInfoFailedPreCondUnclosedChs `protobuf:"bytes,11,opt,name=ErrInfoFailedPreCondUnclosedChs,proto3,oneof"`
}
type MsgError_ErrInfoInvalidArgument ¶ added in v0.6.0
type MsgError_ErrInfoInvalidArgument struct {
ErrInfoInvalidArgument *ErrInfoInvalidArgument `protobuf:"bytes,10,opt,name=ErrInfoInvalidArgument,proto3,oneof"`
}
type MsgError_ErrInfoInvalidConfig ¶ added in v0.6.0
type MsgError_ErrInfoInvalidConfig struct {
ErrInfoInvalidConfig *ErrInfoInvalidConfig `protobuf:"bytes,13,opt,name=ErrInfoInvalidConfig,proto3,oneof"`
}
type MsgError_ErrInfoInvalidContracts ¶ added in v0.6.0
type MsgError_ErrInfoInvalidContracts struct {
ErrInfoInvalidContracts *ErrInfoInvalidContracts `protobuf:"bytes,14,opt,name=ErrInfoInvalidContracts,proto3,oneof"`
}
type MsgError_ErrInfoPeerNotFunded ¶ added in v0.6.0
type MsgError_ErrInfoPeerNotFunded struct {
ErrInfoPeerNotFunded *ErrInfoPeerNotFunded `protobuf:"bytes,6,opt,name=ErrInfoPeerNotFunded,proto3,oneof"`
}
type MsgError_ErrInfoPeerRejected ¶ added in v0.6.0
type MsgError_ErrInfoPeerRejected struct {
ErrInfoPeerRejected *ErrInfoPeerRejected `protobuf:"bytes,5,opt,name=ErrInfoPeerRejected,proto3,oneof"`
}
type MsgError_ErrInfoPeerRequestTimedOut ¶ added in v0.6.0
type MsgError_ErrInfoPeerRequestTimedOut struct {
ErrInfoPeerRequestTimedOut *ErrInfoPeerRequestTimedOut `protobuf:"bytes,4,opt,name=ErrInfoPeerRequestTimedOut,proto3,oneof"`
}
type MsgError_ErrInfoResourceExists ¶ added in v0.6.0
type MsgError_ErrInfoResourceExists struct {
ErrInfoResourceExists *ErrInfoResourceExists `protobuf:"bytes,9,opt,name=ErrInfoResourceExists,proto3,oneof"`
}
type MsgError_ErrInfoResourceNotFound ¶ added in v0.6.0
type MsgError_ErrInfoResourceNotFound struct {
ErrInfoResourceNotFound *ErrInfoResourceNotFound `protobuf:"bytes,8,opt,name=ErrInfoResourceNotFound,proto3,oneof"`
}
type MsgError_ErrInfoTxTimedOut ¶ added in v0.6.0
type MsgError_ErrInfoTxTimedOut struct {
ErrInfoTxTimedOut *ErrInfoTxTimedOut `protobuf:"bytes,15,opt,name=ErrInfoTxTimedOut,proto3,oneof"`
}
type MsgError_ErrInfoUserResponseTimedOut ¶ added in v0.6.0
type MsgError_ErrInfoUserResponseTimedOut struct {
ErrInfoUserResponseTimedOut *ErrInfoUserResponseTimedOut `protobuf:"bytes,7,opt,name=ErrInfoUserResponseTimedOut,proto3,oneof"`
}
type OpenPayChReq ¶
type OpenPayChReq struct { SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"` OpeningBalInfo *BalInfo `protobuf:"bytes,2,opt,name=openingBalInfo,proto3" json:"openingBalInfo,omitempty"` ChallengeDurSecs uint64 `protobuf:"varint,3,opt,name=challengeDurSecs,proto3" json:"challengeDurSecs,omitempty"` // contains filtered or unexported fields }
func (*OpenPayChReq) Descriptor
deprecated
func (*OpenPayChReq) Descriptor() ([]byte, []int)
Deprecated: Use OpenPayChReq.ProtoReflect.Descriptor instead.
func (*OpenPayChReq) GetChallengeDurSecs ¶
func (x *OpenPayChReq) GetChallengeDurSecs() uint64
func (*OpenPayChReq) GetOpeningBalInfo ¶ added in v0.4.0
func (x *OpenPayChReq) GetOpeningBalInfo() *BalInfo
func (*OpenPayChReq) GetSessionID ¶
func (x *OpenPayChReq) GetSessionID() string
func (*OpenPayChReq) ProtoMessage ¶
func (*OpenPayChReq) ProtoMessage()
func (*OpenPayChReq) ProtoReflect ¶
func (x *OpenPayChReq) ProtoReflect() protoreflect.Message
func (*OpenPayChReq) Reset ¶
func (x *OpenPayChReq) Reset()
func (*OpenPayChReq) String ¶
func (x *OpenPayChReq) String() string
type OpenPayChResp ¶
type OpenPayChResp struct { // Types that are assignable to Response: // *OpenPayChResp_MsgSuccess_ // *OpenPayChResp_Error Response isOpenPayChResp_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*OpenPayChResp) Descriptor
deprecated
func (*OpenPayChResp) Descriptor() ([]byte, []int)
Deprecated: Use OpenPayChResp.ProtoReflect.Descriptor instead.
func (*OpenPayChResp) GetError ¶
func (x *OpenPayChResp) GetError() *MsgError
func (*OpenPayChResp) GetMsgSuccess ¶
func (x *OpenPayChResp) GetMsgSuccess() *OpenPayChResp_MsgSuccess
func (*OpenPayChResp) GetResponse ¶
func (m *OpenPayChResp) GetResponse() isOpenPayChResp_Response
func (*OpenPayChResp) ProtoMessage ¶
func (*OpenPayChResp) ProtoMessage()
func (*OpenPayChResp) ProtoReflect ¶
func (x *OpenPayChResp) ProtoReflect() protoreflect.Message
func (*OpenPayChResp) Reset ¶
func (x *OpenPayChResp) Reset()
func (*OpenPayChResp) String ¶
func (x *OpenPayChResp) String() string
type OpenPayChResp_Error ¶
type OpenPayChResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type OpenPayChResp_MsgSuccess ¶
type OpenPayChResp_MsgSuccess struct { OpenedPayChInfo *PayChInfo `protobuf:"bytes,1,opt,name=openedPayChInfo,proto3" json:"openedPayChInfo,omitempty"` // contains filtered or unexported fields }
func (*OpenPayChResp_MsgSuccess) Descriptor
deprecated
func (*OpenPayChResp_MsgSuccess) Descriptor() ([]byte, []int)
Deprecated: Use OpenPayChResp_MsgSuccess.ProtoReflect.Descriptor instead.
func (*OpenPayChResp_MsgSuccess) GetOpenedPayChInfo ¶ added in v0.4.0
func (x *OpenPayChResp_MsgSuccess) GetOpenedPayChInfo() *PayChInfo
func (*OpenPayChResp_MsgSuccess) ProtoMessage ¶
func (*OpenPayChResp_MsgSuccess) ProtoMessage()
func (*OpenPayChResp_MsgSuccess) ProtoReflect ¶
func (x *OpenPayChResp_MsgSuccess) ProtoReflect() protoreflect.Message
func (*OpenPayChResp_MsgSuccess) Reset ¶
func (x *OpenPayChResp_MsgSuccess) Reset()
func (*OpenPayChResp_MsgSuccess) String ¶
func (x *OpenPayChResp_MsgSuccess) String() string
type OpenPayChResp_MsgSuccess_ ¶
type OpenPayChResp_MsgSuccess_ struct {
MsgSuccess *OpenPayChResp_MsgSuccess `protobuf:"bytes,1,opt,name=msgSuccess,proto3,oneof"`
}
type OpenSessionReq ¶
type OpenSessionReq struct { ConfigFile string `protobuf:"bytes,1,opt,name=configFile,proto3" json:"configFile,omitempty"` // contains filtered or unexported fields }
func (*OpenSessionReq) Descriptor
deprecated
func (*OpenSessionReq) Descriptor() ([]byte, []int)
Deprecated: Use OpenSessionReq.ProtoReflect.Descriptor instead.
func (*OpenSessionReq) GetConfigFile ¶
func (x *OpenSessionReq) GetConfigFile() string
func (*OpenSessionReq) ProtoMessage ¶
func (*OpenSessionReq) ProtoMessage()
func (*OpenSessionReq) ProtoReflect ¶
func (x *OpenSessionReq) ProtoReflect() protoreflect.Message
func (*OpenSessionReq) Reset ¶
func (x *OpenSessionReq) Reset()
func (*OpenSessionReq) String ¶
func (x *OpenSessionReq) String() string
type OpenSessionResp ¶
type OpenSessionResp struct { // Types that are assignable to Response: // *OpenSessionResp_MsgSuccess_ // *OpenSessionResp_Error Response isOpenSessionResp_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*OpenSessionResp) Descriptor
deprecated
func (*OpenSessionResp) Descriptor() ([]byte, []int)
Deprecated: Use OpenSessionResp.ProtoReflect.Descriptor instead.
func (*OpenSessionResp) GetError ¶
func (x *OpenSessionResp) GetError() *MsgError
func (*OpenSessionResp) GetMsgSuccess ¶
func (x *OpenSessionResp) GetMsgSuccess() *OpenSessionResp_MsgSuccess
func (*OpenSessionResp) GetResponse ¶
func (m *OpenSessionResp) GetResponse() isOpenSessionResp_Response
func (*OpenSessionResp) ProtoMessage ¶
func (*OpenSessionResp) ProtoMessage()
func (*OpenSessionResp) ProtoReflect ¶
func (x *OpenSessionResp) ProtoReflect() protoreflect.Message
func (*OpenSessionResp) Reset ¶
func (x *OpenSessionResp) Reset()
func (*OpenSessionResp) String ¶
func (x *OpenSessionResp) String() string
type OpenSessionResp_Error ¶
type OpenSessionResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type OpenSessionResp_MsgSuccess ¶
type OpenSessionResp_MsgSuccess struct { SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"` RestoredChs []*PayChInfo `protobuf:"bytes,2,rep,name=restoredChs,proto3" json:"restoredChs,omitempty"` // contains filtered or unexported fields }
func (*OpenSessionResp_MsgSuccess) Descriptor
deprecated
func (*OpenSessionResp_MsgSuccess) Descriptor() ([]byte, []int)
Deprecated: Use OpenSessionResp_MsgSuccess.ProtoReflect.Descriptor instead.
func (*OpenSessionResp_MsgSuccess) GetRestoredChs ¶ added in v0.4.0
func (x *OpenSessionResp_MsgSuccess) GetRestoredChs() []*PayChInfo
func (*OpenSessionResp_MsgSuccess) GetSessionID ¶
func (x *OpenSessionResp_MsgSuccess) GetSessionID() string
func (*OpenSessionResp_MsgSuccess) ProtoMessage ¶
func (*OpenSessionResp_MsgSuccess) ProtoMessage()
func (*OpenSessionResp_MsgSuccess) ProtoReflect ¶
func (x *OpenSessionResp_MsgSuccess) ProtoReflect() protoreflect.Message
func (*OpenSessionResp_MsgSuccess) Reset ¶
func (x *OpenSessionResp_MsgSuccess) Reset()
func (*OpenSessionResp_MsgSuccess) String ¶
func (x *OpenSessionResp_MsgSuccess) String() string
type OpenSessionResp_MsgSuccess_ ¶
type OpenSessionResp_MsgSuccess_ struct {
MsgSuccess *OpenSessionResp_MsgSuccess `protobuf:"bytes,1,opt,name=msgSuccess,proto3,oneof"`
}
type PayChInfo ¶ added in v0.4.0
type PayChInfo struct { ChID string `protobuf:"bytes,1,opt,name=chID,proto3" json:"chID,omitempty"` BalInfo *BalInfo `protobuf:"bytes,2,opt,name=balInfo,proto3" json:"balInfo,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*PayChInfo) Descriptor
deprecated
added in
v0.4.0
func (*PayChInfo) GetBalInfo ¶ added in v0.4.0
func (*PayChInfo) GetVersion ¶ added in v0.4.0
func (*PayChInfo) ProtoMessage ¶ added in v0.4.0
func (*PayChInfo) ProtoMessage()
func (*PayChInfo) ProtoReflect ¶ added in v0.4.0
func (x *PayChInfo) ProtoReflect() protoreflect.Message
type Payment ¶ added in v0.6.0
type Payment struct { Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` Payee string `protobuf:"bytes,2,opt,name=payee,proto3" json:"payee,omitempty"` Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*Payment) Descriptor
deprecated
added in
v0.6.0
func (*Payment) GetCurrency ¶ added in v0.6.0
func (*Payment) ProtoMessage ¶ added in v0.6.0
func (*Payment) ProtoMessage()
func (*Payment) ProtoReflect ¶ added in v0.6.0
func (x *Payment) ProtoReflect() protoreflect.Message
type Payment_APIClient ¶
type Payment_APIClient interface { GetConfig(ctx context.Context, in *GetConfigReq, opts ...grpc.CallOption) (*GetConfigResp, error) OpenSession(ctx context.Context, in *OpenSessionReq, opts ...grpc.CallOption) (*OpenSessionResp, error) Time(ctx context.Context, in *TimeReq, opts ...grpc.CallOption) (*TimeResp, error) RegisterCurrency(ctx context.Context, in *RegisterCurrencyReq, opts ...grpc.CallOption) (*RegisterCurrencyResp, error) Help(ctx context.Context, in *HelpReq, opts ...grpc.CallOption) (*HelpResp, error) AddPeerID(ctx context.Context, in *AddPeerIDReq, opts ...grpc.CallOption) (*AddPeerIDResp, error) GetPeerID(ctx context.Context, in *GetPeerIDReq, opts ...grpc.CallOption) (*GetPeerIDResp, error) OpenPayCh(ctx context.Context, in *OpenPayChReq, opts ...grpc.CallOption) (*OpenPayChResp, error) GetPayChsInfo(ctx context.Context, in *GetPayChsInfoReq, opts ...grpc.CallOption) (*GetPayChsInfoResp, error) SubPayChProposals(ctx context.Context, in *SubPayChProposalsReq, opts ...grpc.CallOption) (Payment_API_SubPayChProposalsClient, error) UnsubPayChProposals(ctx context.Context, in *UnsubPayChProposalsReq, opts ...grpc.CallOption) (*UnsubPayChProposalsResp, error) RespondPayChProposal(ctx context.Context, in *RespondPayChProposalReq, opts ...grpc.CallOption) (*RespondPayChProposalResp, error) CloseSession(ctx context.Context, in *CloseSessionReq, opts ...grpc.CallOption) (*CloseSessionResp, error) DeployAssetERC20(ctx context.Context, in *DeployAssetERC20Req, opts ...grpc.CallOption) (*DeployAssetERC20Resp, error) SendPayChUpdate(ctx context.Context, in *SendPayChUpdateReq, opts ...grpc.CallOption) (*SendPayChUpdateResp, error) SubPayChUpdates(ctx context.Context, in *SubpayChUpdatesReq, opts ...grpc.CallOption) (Payment_API_SubPayChUpdatesClient, error) UnsubPayChUpdates(ctx context.Context, in *UnsubPayChUpdatesReq, opts ...grpc.CallOption) (*UnsubPayChUpdatesResp, error) RespondPayChUpdate(ctx context.Context, in *RespondPayChUpdateReq, opts ...grpc.CallOption) (*RespondPayChUpdateResp, error) GetPayChInfo(ctx context.Context, in *GetPayChInfoReq, opts ...grpc.CallOption) (*GetPayChInfoResp, error) ClosePayCh(ctx context.Context, in *ClosePayChReq, opts ...grpc.CallOption) (*ClosePayChResp, error) }
Payment_APIClient is the client API for Payment_API service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPayment_APIClient ¶
func NewPayment_APIClient(cc grpc.ClientConnInterface) Payment_APIClient
type Payment_APIServer ¶
type Payment_APIServer interface { GetConfig(context.Context, *GetConfigReq) (*GetConfigResp, error) OpenSession(context.Context, *OpenSessionReq) (*OpenSessionResp, error) Time(context.Context, *TimeReq) (*TimeResp, error) RegisterCurrency(context.Context, *RegisterCurrencyReq) (*RegisterCurrencyResp, error) Help(context.Context, *HelpReq) (*HelpResp, error) AddPeerID(context.Context, *AddPeerIDReq) (*AddPeerIDResp, error) GetPeerID(context.Context, *GetPeerIDReq) (*GetPeerIDResp, error) OpenPayCh(context.Context, *OpenPayChReq) (*OpenPayChResp, error) GetPayChsInfo(context.Context, *GetPayChsInfoReq) (*GetPayChsInfoResp, error) SubPayChProposals(*SubPayChProposalsReq, Payment_API_SubPayChProposalsServer) error UnsubPayChProposals(context.Context, *UnsubPayChProposalsReq) (*UnsubPayChProposalsResp, error) RespondPayChProposal(context.Context, *RespondPayChProposalReq) (*RespondPayChProposalResp, error) CloseSession(context.Context, *CloseSessionReq) (*CloseSessionResp, error) DeployAssetERC20(context.Context, *DeployAssetERC20Req) (*DeployAssetERC20Resp, error) SendPayChUpdate(context.Context, *SendPayChUpdateReq) (*SendPayChUpdateResp, error) SubPayChUpdates(*SubpayChUpdatesReq, Payment_API_SubPayChUpdatesServer) error UnsubPayChUpdates(context.Context, *UnsubPayChUpdatesReq) (*UnsubPayChUpdatesResp, error) RespondPayChUpdate(context.Context, *RespondPayChUpdateReq) (*RespondPayChUpdateResp, error) GetPayChInfo(context.Context, *GetPayChInfoReq) (*GetPayChInfoResp, error) ClosePayCh(context.Context, *ClosePayChReq) (*ClosePayChResp, error) }
Payment_APIServer is the server API for Payment_API service.
type Payment_API_SubPayChProposalsClient ¶
type Payment_API_SubPayChProposalsClient interface { Recv() (*SubPayChProposalsResp, error) grpc.ClientStream }
type Payment_API_SubPayChProposalsServer ¶
type Payment_API_SubPayChProposalsServer interface { Send(*SubPayChProposalsResp) error grpc.ServerStream }
type Payment_API_SubPayChUpdatesClient ¶
type Payment_API_SubPayChUpdatesClient interface { Recv() (*SubPayChUpdatesResp, error) grpc.ClientStream }
type Payment_API_SubPayChUpdatesServer ¶
type Payment_API_SubPayChUpdatesServer interface { Send(*SubPayChUpdatesResp) error grpc.ServerStream }
type PeerID ¶ added in v0.5.0
type PeerID struct { Alias string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` OffChainAddress string `protobuf:"bytes,2,opt,name=offChainAddress,proto3" json:"offChainAddress,omitempty"` CommAddress string `protobuf:"bytes,3,opt,name=commAddress,proto3" json:"commAddress,omitempty"` CommType string `protobuf:"bytes,4,opt,name=commType,proto3" json:"commType,omitempty"` // contains filtered or unexported fields }
Peer ID represents the data required to identify and communicate with a participant in the the off-chain network.
func (*PeerID) Descriptor
deprecated
added in
v0.5.0
func (*PeerID) GetCommAddress ¶ added in v0.5.0
func (*PeerID) GetCommType ¶ added in v0.5.0
func (*PeerID) GetOffChainAddress ¶ added in v0.5.0
func (*PeerID) ProtoMessage ¶ added in v0.5.0
func (*PeerID) ProtoMessage()
func (*PeerID) ProtoReflect ¶ added in v0.5.0
func (x *PeerID) ProtoReflect() protoreflect.Message
type RegisterCurrencyReq ¶ added in v0.6.0
type RegisterCurrencyReq struct { TokenAddr string `protobuf:"bytes,1,opt,name=tokenAddr,proto3" json:"tokenAddr,omitempty"` AssetAddr string `protobuf:"bytes,2,opt,name=assetAddr,proto3" json:"assetAddr,omitempty"` // contains filtered or unexported fields }
func (*RegisterCurrencyReq) Descriptor
deprecated
added in
v0.6.0
func (*RegisterCurrencyReq) Descriptor() ([]byte, []int)
Deprecated: Use RegisterCurrencyReq.ProtoReflect.Descriptor instead.
func (*RegisterCurrencyReq) GetAssetAddr ¶ added in v0.6.0
func (x *RegisterCurrencyReq) GetAssetAddr() string
func (*RegisterCurrencyReq) GetTokenAddr ¶ added in v0.6.0
func (x *RegisterCurrencyReq) GetTokenAddr() string
func (*RegisterCurrencyReq) ProtoMessage ¶ added in v0.6.0
func (*RegisterCurrencyReq) ProtoMessage()
func (*RegisterCurrencyReq) ProtoReflect ¶ added in v0.6.0
func (x *RegisterCurrencyReq) ProtoReflect() protoreflect.Message
func (*RegisterCurrencyReq) Reset ¶ added in v0.6.0
func (x *RegisterCurrencyReq) Reset()
func (*RegisterCurrencyReq) String ¶ added in v0.6.0
func (x *RegisterCurrencyReq) String() string
type RegisterCurrencyResp ¶ added in v0.6.0
type RegisterCurrencyResp struct { // Types that are assignable to Response: // *RegisterCurrencyResp_MsgSuccess_ // *RegisterCurrencyResp_Error Response isRegisterCurrencyResp_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*RegisterCurrencyResp) Descriptor
deprecated
added in
v0.6.0
func (*RegisterCurrencyResp) Descriptor() ([]byte, []int)
Deprecated: Use RegisterCurrencyResp.ProtoReflect.Descriptor instead.
func (*RegisterCurrencyResp) GetError ¶ added in v0.6.0
func (x *RegisterCurrencyResp) GetError() *MsgError
func (*RegisterCurrencyResp) GetMsgSuccess ¶ added in v0.6.0
func (x *RegisterCurrencyResp) GetMsgSuccess() *RegisterCurrencyResp_MsgSuccess
func (*RegisterCurrencyResp) GetResponse ¶ added in v0.6.0
func (m *RegisterCurrencyResp) GetResponse() isRegisterCurrencyResp_Response
func (*RegisterCurrencyResp) ProtoMessage ¶ added in v0.6.0
func (*RegisterCurrencyResp) ProtoMessage()
func (*RegisterCurrencyResp) ProtoReflect ¶ added in v0.6.0
func (x *RegisterCurrencyResp) ProtoReflect() protoreflect.Message
func (*RegisterCurrencyResp) Reset ¶ added in v0.6.0
func (x *RegisterCurrencyResp) Reset()
func (*RegisterCurrencyResp) String ¶ added in v0.6.0
func (x *RegisterCurrencyResp) String() string
type RegisterCurrencyResp_Error ¶ added in v0.6.0
type RegisterCurrencyResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type RegisterCurrencyResp_MsgSuccess ¶ added in v0.6.0
type RegisterCurrencyResp_MsgSuccess struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` // contains filtered or unexported fields }
func (*RegisterCurrencyResp_MsgSuccess) Descriptor
deprecated
added in
v0.6.0
func (*RegisterCurrencyResp_MsgSuccess) Descriptor() ([]byte, []int)
Deprecated: Use RegisterCurrencyResp_MsgSuccess.ProtoReflect.Descriptor instead.
func (*RegisterCurrencyResp_MsgSuccess) GetSymbol ¶ added in v0.6.0
func (x *RegisterCurrencyResp_MsgSuccess) GetSymbol() string
func (*RegisterCurrencyResp_MsgSuccess) ProtoMessage ¶ added in v0.6.0
func (*RegisterCurrencyResp_MsgSuccess) ProtoMessage()
func (*RegisterCurrencyResp_MsgSuccess) ProtoReflect ¶ added in v0.6.0
func (x *RegisterCurrencyResp_MsgSuccess) ProtoReflect() protoreflect.Message
func (*RegisterCurrencyResp_MsgSuccess) Reset ¶ added in v0.6.0
func (x *RegisterCurrencyResp_MsgSuccess) Reset()
func (*RegisterCurrencyResp_MsgSuccess) String ¶ added in v0.6.0
func (x *RegisterCurrencyResp_MsgSuccess) String() string
type RegisterCurrencyResp_MsgSuccess_ ¶ added in v0.6.0
type RegisterCurrencyResp_MsgSuccess_ struct {
MsgSuccess *RegisterCurrencyResp_MsgSuccess `protobuf:"bytes,1,opt,name=msgSuccess,proto3,oneof"`
}
type RespondPayChProposalReq ¶
type RespondPayChProposalReq struct { SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"` ProposalID string `protobuf:"bytes,2,opt,name=proposalID,proto3" json:"proposalID,omitempty"` Accept bool `protobuf:"varint,3,opt,name=accept,proto3" json:"accept,omitempty"` // contains filtered or unexported fields }
func (*RespondPayChProposalReq) Descriptor
deprecated
func (*RespondPayChProposalReq) Descriptor() ([]byte, []int)
Deprecated: Use RespondPayChProposalReq.ProtoReflect.Descriptor instead.
func (*RespondPayChProposalReq) GetAccept ¶
func (x *RespondPayChProposalReq) GetAccept() bool
func (*RespondPayChProposalReq) GetProposalID ¶
func (x *RespondPayChProposalReq) GetProposalID() string
func (*RespondPayChProposalReq) GetSessionID ¶
func (x *RespondPayChProposalReq) GetSessionID() string
func (*RespondPayChProposalReq) ProtoMessage ¶
func (*RespondPayChProposalReq) ProtoMessage()
func (*RespondPayChProposalReq) ProtoReflect ¶
func (x *RespondPayChProposalReq) ProtoReflect() protoreflect.Message
func (*RespondPayChProposalReq) Reset ¶
func (x *RespondPayChProposalReq) Reset()
func (*RespondPayChProposalReq) String ¶
func (x *RespondPayChProposalReq) String() string
type RespondPayChProposalResp ¶
type RespondPayChProposalResp struct { // Types that are assignable to Response: // *RespondPayChProposalResp_MsgSuccess_ // *RespondPayChProposalResp_Error Response isRespondPayChProposalResp_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*RespondPayChProposalResp) Descriptor
deprecated
func (*RespondPayChProposalResp) Descriptor() ([]byte, []int)
Deprecated: Use RespondPayChProposalResp.ProtoReflect.Descriptor instead.
func (*RespondPayChProposalResp) GetError ¶
func (x *RespondPayChProposalResp) GetError() *MsgError
func (*RespondPayChProposalResp) GetMsgSuccess ¶
func (x *RespondPayChProposalResp) GetMsgSuccess() *RespondPayChProposalResp_MsgSuccess
func (*RespondPayChProposalResp) GetResponse ¶
func (m *RespondPayChProposalResp) GetResponse() isRespondPayChProposalResp_Response
func (*RespondPayChProposalResp) ProtoMessage ¶
func (*RespondPayChProposalResp) ProtoMessage()
func (*RespondPayChProposalResp) ProtoReflect ¶
func (x *RespondPayChProposalResp) ProtoReflect() protoreflect.Message
func (*RespondPayChProposalResp) Reset ¶
func (x *RespondPayChProposalResp) Reset()
func (*RespondPayChProposalResp) String ¶
func (x *RespondPayChProposalResp) String() string
type RespondPayChProposalResp_Error ¶
type RespondPayChProposalResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type RespondPayChProposalResp_MsgSuccess ¶
type RespondPayChProposalResp_MsgSuccess struct { OpenedPayChInfo *PayChInfo `protobuf:"bytes,2,opt,name=openedPayChInfo,proto3" json:"openedPayChInfo,omitempty"` // contains filtered or unexported fields }
func (*RespondPayChProposalResp_MsgSuccess) Descriptor
deprecated
func (*RespondPayChProposalResp_MsgSuccess) Descriptor() ([]byte, []int)
Deprecated: Use RespondPayChProposalResp_MsgSuccess.ProtoReflect.Descriptor instead.
func (*RespondPayChProposalResp_MsgSuccess) GetOpenedPayChInfo ¶ added in v0.4.0
func (x *RespondPayChProposalResp_MsgSuccess) GetOpenedPayChInfo() *PayChInfo
func (*RespondPayChProposalResp_MsgSuccess) ProtoMessage ¶
func (*RespondPayChProposalResp_MsgSuccess) ProtoMessage()
func (*RespondPayChProposalResp_MsgSuccess) ProtoReflect ¶
func (x *RespondPayChProposalResp_MsgSuccess) ProtoReflect() protoreflect.Message
func (*RespondPayChProposalResp_MsgSuccess) Reset ¶
func (x *RespondPayChProposalResp_MsgSuccess) Reset()
func (*RespondPayChProposalResp_MsgSuccess) String ¶
func (x *RespondPayChProposalResp_MsgSuccess) String() string
type RespondPayChProposalResp_MsgSuccess_ ¶
type RespondPayChProposalResp_MsgSuccess_ struct {
MsgSuccess *RespondPayChProposalResp_MsgSuccess `protobuf:"bytes,1,opt,name=msgSuccess,proto3,oneof"`
}
type RespondPayChUpdateReq ¶
type RespondPayChUpdateReq struct { SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"` ChID string `protobuf:"bytes,2,opt,name=chID,proto3" json:"chID,omitempty"` UpdateID string `protobuf:"bytes,3,opt,name=updateID,proto3" json:"updateID,omitempty"` Accept bool `protobuf:"varint,4,opt,name=accept,proto3" json:"accept,omitempty"` // contains filtered or unexported fields }
func (*RespondPayChUpdateReq) Descriptor
deprecated
func (*RespondPayChUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use RespondPayChUpdateReq.ProtoReflect.Descriptor instead.
func (*RespondPayChUpdateReq) GetAccept ¶
func (x *RespondPayChUpdateReq) GetAccept() bool
func (*RespondPayChUpdateReq) GetChID ¶ added in v0.4.0
func (x *RespondPayChUpdateReq) GetChID() string
func (*RespondPayChUpdateReq) GetSessionID ¶
func (x *RespondPayChUpdateReq) GetSessionID() string
func (*RespondPayChUpdateReq) GetUpdateID ¶
func (x *RespondPayChUpdateReq) GetUpdateID() string
func (*RespondPayChUpdateReq) ProtoMessage ¶
func (*RespondPayChUpdateReq) ProtoMessage()
func (*RespondPayChUpdateReq) ProtoReflect ¶
func (x *RespondPayChUpdateReq) ProtoReflect() protoreflect.Message
func (*RespondPayChUpdateReq) Reset ¶
func (x *RespondPayChUpdateReq) Reset()
func (*RespondPayChUpdateReq) String ¶
func (x *RespondPayChUpdateReq) String() string
type RespondPayChUpdateResp ¶
type RespondPayChUpdateResp struct { // Types that are assignable to Response: // *RespondPayChUpdateResp_MsgSuccess_ // *RespondPayChUpdateResp_Error Response isRespondPayChUpdateResp_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*RespondPayChUpdateResp) Descriptor
deprecated
func (*RespondPayChUpdateResp) Descriptor() ([]byte, []int)
Deprecated: Use RespondPayChUpdateResp.ProtoReflect.Descriptor instead.
func (*RespondPayChUpdateResp) GetError ¶
func (x *RespondPayChUpdateResp) GetError() *MsgError
func (*RespondPayChUpdateResp) GetMsgSuccess ¶
func (x *RespondPayChUpdateResp) GetMsgSuccess() *RespondPayChUpdateResp_MsgSuccess
func (*RespondPayChUpdateResp) GetResponse ¶
func (m *RespondPayChUpdateResp) GetResponse() isRespondPayChUpdateResp_Response
func (*RespondPayChUpdateResp) ProtoMessage ¶
func (*RespondPayChUpdateResp) ProtoMessage()
func (*RespondPayChUpdateResp) ProtoReflect ¶
func (x *RespondPayChUpdateResp) ProtoReflect() protoreflect.Message
func (*RespondPayChUpdateResp) Reset ¶
func (x *RespondPayChUpdateResp) Reset()
func (*RespondPayChUpdateResp) String ¶
func (x *RespondPayChUpdateResp) String() string
type RespondPayChUpdateResp_Error ¶
type RespondPayChUpdateResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type RespondPayChUpdateResp_MsgSuccess ¶
type RespondPayChUpdateResp_MsgSuccess struct { UpdatedPayChInfo *PayChInfo `protobuf:"bytes,1,opt,name=updatedPayChInfo,proto3" json:"updatedPayChInfo,omitempty"` // contains filtered or unexported fields }
func (*RespondPayChUpdateResp_MsgSuccess) Descriptor
deprecated
func (*RespondPayChUpdateResp_MsgSuccess) Descriptor() ([]byte, []int)
Deprecated: Use RespondPayChUpdateResp_MsgSuccess.ProtoReflect.Descriptor instead.
func (*RespondPayChUpdateResp_MsgSuccess) GetUpdatedPayChInfo ¶ added in v0.4.0
func (x *RespondPayChUpdateResp_MsgSuccess) GetUpdatedPayChInfo() *PayChInfo
func (*RespondPayChUpdateResp_MsgSuccess) ProtoMessage ¶
func (*RespondPayChUpdateResp_MsgSuccess) ProtoMessage()
func (*RespondPayChUpdateResp_MsgSuccess) ProtoReflect ¶
func (x *RespondPayChUpdateResp_MsgSuccess) ProtoReflect() protoreflect.Message
func (*RespondPayChUpdateResp_MsgSuccess) Reset ¶
func (x *RespondPayChUpdateResp_MsgSuccess) Reset()
func (*RespondPayChUpdateResp_MsgSuccess) String ¶
func (x *RespondPayChUpdateResp_MsgSuccess) String() string
type RespondPayChUpdateResp_MsgSuccess_ ¶
type RespondPayChUpdateResp_MsgSuccess_ struct {
MsgSuccess *RespondPayChUpdateResp_MsgSuccess `protobuf:"bytes,1,opt,name=msgSuccess,proto3,oneof"`
}
type SendPayChUpdateReq ¶
type SendPayChUpdateReq struct { SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"` ChID string `protobuf:"bytes,2,opt,name=chID,proto3" json:"chID,omitempty"` Payments []*Payment `protobuf:"bytes,3,rep,name=payments,proto3" json:"payments,omitempty"` // contains filtered or unexported fields }
func (*SendPayChUpdateReq) Descriptor
deprecated
func (*SendPayChUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use SendPayChUpdateReq.ProtoReflect.Descriptor instead.
func (*SendPayChUpdateReq) GetChID ¶ added in v0.4.0
func (x *SendPayChUpdateReq) GetChID() string
func (*SendPayChUpdateReq) GetPayments ¶ added in v0.6.0
func (x *SendPayChUpdateReq) GetPayments() []*Payment
func (*SendPayChUpdateReq) GetSessionID ¶
func (x *SendPayChUpdateReq) GetSessionID() string
func (*SendPayChUpdateReq) ProtoMessage ¶
func (*SendPayChUpdateReq) ProtoMessage()
func (*SendPayChUpdateReq) ProtoReflect ¶
func (x *SendPayChUpdateReq) ProtoReflect() protoreflect.Message
func (*SendPayChUpdateReq) Reset ¶
func (x *SendPayChUpdateReq) Reset()
func (*SendPayChUpdateReq) String ¶
func (x *SendPayChUpdateReq) String() string
type SendPayChUpdateResp ¶
type SendPayChUpdateResp struct { // Types that are assignable to Response: // *SendPayChUpdateResp_MsgSuccess_ // *SendPayChUpdateResp_Error Response isSendPayChUpdateResp_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*SendPayChUpdateResp) Descriptor
deprecated
func (*SendPayChUpdateResp) Descriptor() ([]byte, []int)
Deprecated: Use SendPayChUpdateResp.ProtoReflect.Descriptor instead.
func (*SendPayChUpdateResp) GetError ¶
func (x *SendPayChUpdateResp) GetError() *MsgError
func (*SendPayChUpdateResp) GetMsgSuccess ¶
func (x *SendPayChUpdateResp) GetMsgSuccess() *SendPayChUpdateResp_MsgSuccess
func (*SendPayChUpdateResp) GetResponse ¶
func (m *SendPayChUpdateResp) GetResponse() isSendPayChUpdateResp_Response
func (*SendPayChUpdateResp) ProtoMessage ¶
func (*SendPayChUpdateResp) ProtoMessage()
func (*SendPayChUpdateResp) ProtoReflect ¶
func (x *SendPayChUpdateResp) ProtoReflect() protoreflect.Message
func (*SendPayChUpdateResp) Reset ¶
func (x *SendPayChUpdateResp) Reset()
func (*SendPayChUpdateResp) String ¶
func (x *SendPayChUpdateResp) String() string
type SendPayChUpdateResp_Error ¶
type SendPayChUpdateResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type SendPayChUpdateResp_MsgSuccess ¶
type SendPayChUpdateResp_MsgSuccess struct { UpdatedPayChInfo *PayChInfo `protobuf:"bytes,1,opt,name=updatedPayChInfo,proto3" json:"updatedPayChInfo,omitempty"` // contains filtered or unexported fields }
func (*SendPayChUpdateResp_MsgSuccess) Descriptor
deprecated
func (*SendPayChUpdateResp_MsgSuccess) Descriptor() ([]byte, []int)
Deprecated: Use SendPayChUpdateResp_MsgSuccess.ProtoReflect.Descriptor instead.
func (*SendPayChUpdateResp_MsgSuccess) GetUpdatedPayChInfo ¶ added in v0.4.0
func (x *SendPayChUpdateResp_MsgSuccess) GetUpdatedPayChInfo() *PayChInfo
func (*SendPayChUpdateResp_MsgSuccess) ProtoMessage ¶
func (*SendPayChUpdateResp_MsgSuccess) ProtoMessage()
func (*SendPayChUpdateResp_MsgSuccess) ProtoReflect ¶
func (x *SendPayChUpdateResp_MsgSuccess) ProtoReflect() protoreflect.Message
func (*SendPayChUpdateResp_MsgSuccess) Reset ¶
func (x *SendPayChUpdateResp_MsgSuccess) Reset()
func (*SendPayChUpdateResp_MsgSuccess) String ¶
func (x *SendPayChUpdateResp_MsgSuccess) String() string
type SendPayChUpdateResp_MsgSuccess_ ¶
type SendPayChUpdateResp_MsgSuccess_ struct {
MsgSuccess *SendPayChUpdateResp_MsgSuccess `protobuf:"bytes,1,opt,name=msgSuccess,proto3,oneof"`
}
type SubPayChProposalsReq ¶
type SubPayChProposalsReq struct { SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"` // contains filtered or unexported fields }
func (*SubPayChProposalsReq) Descriptor
deprecated
func (*SubPayChProposalsReq) Descriptor() ([]byte, []int)
Deprecated: Use SubPayChProposalsReq.ProtoReflect.Descriptor instead.
func (*SubPayChProposalsReq) GetSessionID ¶
func (x *SubPayChProposalsReq) GetSessionID() string
func (*SubPayChProposalsReq) ProtoMessage ¶
func (*SubPayChProposalsReq) ProtoMessage()
func (*SubPayChProposalsReq) ProtoReflect ¶
func (x *SubPayChProposalsReq) ProtoReflect() protoreflect.Message
func (*SubPayChProposalsReq) Reset ¶
func (x *SubPayChProposalsReq) Reset()
func (*SubPayChProposalsReq) String ¶
func (x *SubPayChProposalsReq) String() string
type SubPayChProposalsResp ¶
type SubPayChProposalsResp struct { // Types that are assignable to Response: // *SubPayChProposalsResp_Notify_ // *SubPayChProposalsResp_Error Response isSubPayChProposalsResp_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*SubPayChProposalsResp) Descriptor
deprecated
func (*SubPayChProposalsResp) Descriptor() ([]byte, []int)
Deprecated: Use SubPayChProposalsResp.ProtoReflect.Descriptor instead.
func (*SubPayChProposalsResp) GetError ¶
func (x *SubPayChProposalsResp) GetError() *MsgError
func (*SubPayChProposalsResp) GetNotify ¶
func (x *SubPayChProposalsResp) GetNotify() *SubPayChProposalsResp_Notify
func (*SubPayChProposalsResp) GetResponse ¶
func (m *SubPayChProposalsResp) GetResponse() isSubPayChProposalsResp_Response
func (*SubPayChProposalsResp) ProtoMessage ¶
func (*SubPayChProposalsResp) ProtoMessage()
func (*SubPayChProposalsResp) ProtoReflect ¶
func (x *SubPayChProposalsResp) ProtoReflect() protoreflect.Message
func (*SubPayChProposalsResp) Reset ¶
func (x *SubPayChProposalsResp) Reset()
func (*SubPayChProposalsResp) String ¶
func (x *SubPayChProposalsResp) String() string
type SubPayChProposalsResp_Error ¶
type SubPayChProposalsResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type SubPayChProposalsResp_Notify ¶
type SubPayChProposalsResp_Notify struct { ProposalID string `protobuf:"bytes,2,opt,name=proposalID,proto3" json:"proposalID,omitempty"` OpeningBalInfo *BalInfo `protobuf:"bytes,4,opt,name=openingBalInfo,proto3" json:"openingBalInfo,omitempty"` ChallengeDurSecs uint64 `protobuf:"varint,5,opt,name=challengeDurSecs,proto3" json:"challengeDurSecs,omitempty"` Expiry int64 `protobuf:"varint,6,opt,name=expiry,proto3" json:"expiry,omitempty"` // contains filtered or unexported fields }
func (*SubPayChProposalsResp_Notify) Descriptor
deprecated
func (*SubPayChProposalsResp_Notify) Descriptor() ([]byte, []int)
Deprecated: Use SubPayChProposalsResp_Notify.ProtoReflect.Descriptor instead.
func (*SubPayChProposalsResp_Notify) GetChallengeDurSecs ¶
func (x *SubPayChProposalsResp_Notify) GetChallengeDurSecs() uint64
func (*SubPayChProposalsResp_Notify) GetExpiry ¶
func (x *SubPayChProposalsResp_Notify) GetExpiry() int64
func (*SubPayChProposalsResp_Notify) GetOpeningBalInfo ¶ added in v0.4.0
func (x *SubPayChProposalsResp_Notify) GetOpeningBalInfo() *BalInfo
func (*SubPayChProposalsResp_Notify) GetProposalID ¶
func (x *SubPayChProposalsResp_Notify) GetProposalID() string
func (*SubPayChProposalsResp_Notify) ProtoMessage ¶
func (*SubPayChProposalsResp_Notify) ProtoMessage()
func (*SubPayChProposalsResp_Notify) ProtoReflect ¶
func (x *SubPayChProposalsResp_Notify) ProtoReflect() protoreflect.Message
func (*SubPayChProposalsResp_Notify) Reset ¶
func (x *SubPayChProposalsResp_Notify) Reset()
func (*SubPayChProposalsResp_Notify) String ¶
func (x *SubPayChProposalsResp_Notify) String() string
type SubPayChProposalsResp_Notify_ ¶
type SubPayChProposalsResp_Notify_ struct {
Notify *SubPayChProposalsResp_Notify `protobuf:"bytes,1,opt,name=notify,proto3,oneof"`
}
type SubPayChUpdatesResp ¶
type SubPayChUpdatesResp struct { // Types that are assignable to Response: // *SubPayChUpdatesResp_Notify_ // *SubPayChUpdatesResp_Error Response isSubPayChUpdatesResp_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*SubPayChUpdatesResp) Descriptor
deprecated
func (*SubPayChUpdatesResp) Descriptor() ([]byte, []int)
Deprecated: Use SubPayChUpdatesResp.ProtoReflect.Descriptor instead.
func (*SubPayChUpdatesResp) GetError ¶
func (x *SubPayChUpdatesResp) GetError() *MsgError
func (*SubPayChUpdatesResp) GetNotify ¶
func (x *SubPayChUpdatesResp) GetNotify() *SubPayChUpdatesResp_Notify
func (*SubPayChUpdatesResp) GetResponse ¶
func (m *SubPayChUpdatesResp) GetResponse() isSubPayChUpdatesResp_Response
func (*SubPayChUpdatesResp) ProtoMessage ¶
func (*SubPayChUpdatesResp) ProtoMessage()
func (*SubPayChUpdatesResp) ProtoReflect ¶
func (x *SubPayChUpdatesResp) ProtoReflect() protoreflect.Message
func (*SubPayChUpdatesResp) Reset ¶
func (x *SubPayChUpdatesResp) Reset()
func (*SubPayChUpdatesResp) String ¶
func (x *SubPayChUpdatesResp) String() string
type SubPayChUpdatesResp_Error ¶
type SubPayChUpdatesResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type SubPayChUpdatesResp_Notify ¶
type SubPayChUpdatesResp_Notify struct { UpdateID string `protobuf:"bytes,1,opt,name=updateID,proto3" json:"updateID,omitempty"` ProposedPayChInfo *PayChInfo `protobuf:"bytes,2,opt,name=proposedPayChInfo,proto3" json:"proposedPayChInfo,omitempty"` Type SubPayChUpdatesResp_Notify_ChUpdateType `protobuf:"varint,3,opt,name=Type,proto3,enum=pb.SubPayChUpdatesResp_Notify_ChUpdateType" json:"Type,omitempty"` Expiry int64 `protobuf:"varint,4,opt,name=expiry,proto3" json:"expiry,omitempty"` Error *MsgError `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*SubPayChUpdatesResp_Notify) Descriptor
deprecated
func (*SubPayChUpdatesResp_Notify) Descriptor() ([]byte, []int)
Deprecated: Use SubPayChUpdatesResp_Notify.ProtoReflect.Descriptor instead.
func (*SubPayChUpdatesResp_Notify) GetError ¶ added in v0.4.0
func (x *SubPayChUpdatesResp_Notify) GetError() *MsgError
func (*SubPayChUpdatesResp_Notify) GetExpiry ¶
func (x *SubPayChUpdatesResp_Notify) GetExpiry() int64
func (*SubPayChUpdatesResp_Notify) GetProposedPayChInfo ¶ added in v0.4.0
func (x *SubPayChUpdatesResp_Notify) GetProposedPayChInfo() *PayChInfo
func (*SubPayChUpdatesResp_Notify) GetType ¶ added in v0.4.0
func (x *SubPayChUpdatesResp_Notify) GetType() SubPayChUpdatesResp_Notify_ChUpdateType
func (*SubPayChUpdatesResp_Notify) GetUpdateID ¶
func (x *SubPayChUpdatesResp_Notify) GetUpdateID() string
func (*SubPayChUpdatesResp_Notify) ProtoMessage ¶
func (*SubPayChUpdatesResp_Notify) ProtoMessage()
func (*SubPayChUpdatesResp_Notify) ProtoReflect ¶
func (x *SubPayChUpdatesResp_Notify) ProtoReflect() protoreflect.Message
func (*SubPayChUpdatesResp_Notify) Reset ¶
func (x *SubPayChUpdatesResp_Notify) Reset()
func (*SubPayChUpdatesResp_Notify) String ¶
func (x *SubPayChUpdatesResp_Notify) String() string
type SubPayChUpdatesResp_Notify_ ¶
type SubPayChUpdatesResp_Notify_ struct {
Notify *SubPayChUpdatesResp_Notify `protobuf:"bytes,1,opt,name=notify,proto3,oneof"`
}
type SubPayChUpdatesResp_Notify_ChUpdateType ¶ added in v0.4.0
type SubPayChUpdatesResp_Notify_ChUpdateType int32
const ( SubPayChUpdatesResp_Notify_open SubPayChUpdatesResp_Notify_ChUpdateType = 0 SubPayChUpdatesResp_Notify_final SubPayChUpdatesResp_Notify_ChUpdateType = 1 SubPayChUpdatesResp_Notify_closed SubPayChUpdatesResp_Notify_ChUpdateType = 2 )
func (SubPayChUpdatesResp_Notify_ChUpdateType) Descriptor ¶ added in v0.4.0
func (SubPayChUpdatesResp_Notify_ChUpdateType) Descriptor() protoreflect.EnumDescriptor
func (SubPayChUpdatesResp_Notify_ChUpdateType) EnumDescriptor
deprecated
added in
v0.4.0
func (SubPayChUpdatesResp_Notify_ChUpdateType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SubPayChUpdatesResp_Notify_ChUpdateType.Descriptor instead.
func (SubPayChUpdatesResp_Notify_ChUpdateType) Number ¶ added in v0.4.0
func (x SubPayChUpdatesResp_Notify_ChUpdateType) Number() protoreflect.EnumNumber
func (SubPayChUpdatesResp_Notify_ChUpdateType) String ¶ added in v0.4.0
func (x SubPayChUpdatesResp_Notify_ChUpdateType) String() string
func (SubPayChUpdatesResp_Notify_ChUpdateType) Type ¶ added in v0.4.0
func (SubPayChUpdatesResp_Notify_ChUpdateType) Type() protoreflect.EnumType
type SubpayChUpdatesReq ¶
type SubpayChUpdatesReq struct { SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"` ChID string `protobuf:"bytes,2,opt,name=chID,proto3" json:"chID,omitempty"` // contains filtered or unexported fields }
func (*SubpayChUpdatesReq) Descriptor
deprecated
func (*SubpayChUpdatesReq) Descriptor() ([]byte, []int)
Deprecated: Use SubpayChUpdatesReq.ProtoReflect.Descriptor instead.
func (*SubpayChUpdatesReq) GetChID ¶ added in v0.4.0
func (x *SubpayChUpdatesReq) GetChID() string
func (*SubpayChUpdatesReq) GetSessionID ¶
func (x *SubpayChUpdatesReq) GetSessionID() string
func (*SubpayChUpdatesReq) ProtoMessage ¶
func (*SubpayChUpdatesReq) ProtoMessage()
func (*SubpayChUpdatesReq) ProtoReflect ¶
func (x *SubpayChUpdatesReq) ProtoReflect() protoreflect.Message
func (*SubpayChUpdatesReq) Reset ¶
func (x *SubpayChUpdatesReq) Reset()
func (*SubpayChUpdatesReq) String ¶
func (x *SubpayChUpdatesReq) String() string
type TimeReq ¶
type TimeReq struct {
// contains filtered or unexported fields
}
func (*TimeReq) Descriptor
deprecated
func (*TimeReq) ProtoMessage ¶
func (*TimeReq) ProtoMessage()
func (*TimeReq) ProtoReflect ¶
func (x *TimeReq) ProtoReflect() protoreflect.Message
type TimeResp ¶
type TimeResp struct { Time int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*TimeResp) Descriptor
deprecated
func (*TimeResp) ProtoMessage ¶
func (*TimeResp) ProtoMessage()
func (*TimeResp) ProtoReflect ¶
func (x *TimeResp) ProtoReflect() protoreflect.Message
type UnimplementedPayment_APIServer ¶
type UnimplementedPayment_APIServer struct { }
UnimplementedPayment_APIServer can be embedded to have forward compatible implementations.
func (*UnimplementedPayment_APIServer) AddPeerID ¶ added in v0.5.0
func (*UnimplementedPayment_APIServer) AddPeerID(context.Context, *AddPeerIDReq) (*AddPeerIDResp, error)
func (*UnimplementedPayment_APIServer) ClosePayCh ¶
func (*UnimplementedPayment_APIServer) ClosePayCh(context.Context, *ClosePayChReq) (*ClosePayChResp, error)
func (*UnimplementedPayment_APIServer) CloseSession ¶
func (*UnimplementedPayment_APIServer) CloseSession(context.Context, *CloseSessionReq) (*CloseSessionResp, error)
func (*UnimplementedPayment_APIServer) DeployAssetERC20 ¶ added in v0.6.0
func (*UnimplementedPayment_APIServer) DeployAssetERC20(context.Context, *DeployAssetERC20Req) (*DeployAssetERC20Resp, error)
func (*UnimplementedPayment_APIServer) GetConfig ¶
func (*UnimplementedPayment_APIServer) GetConfig(context.Context, *GetConfigReq) (*GetConfigResp, error)
func (*UnimplementedPayment_APIServer) GetPayChInfo ¶ added in v0.4.0
func (*UnimplementedPayment_APIServer) GetPayChInfo(context.Context, *GetPayChInfoReq) (*GetPayChInfoResp, error)
func (*UnimplementedPayment_APIServer) GetPayChsInfo ¶ added in v0.4.0
func (*UnimplementedPayment_APIServer) GetPayChsInfo(context.Context, *GetPayChsInfoReq) (*GetPayChsInfoResp, error)
func (*UnimplementedPayment_APIServer) GetPeerID ¶ added in v0.5.0
func (*UnimplementedPayment_APIServer) GetPeerID(context.Context, *GetPeerIDReq) (*GetPeerIDResp, error)
func (*UnimplementedPayment_APIServer) OpenPayCh ¶
func (*UnimplementedPayment_APIServer) OpenPayCh(context.Context, *OpenPayChReq) (*OpenPayChResp, error)
func (*UnimplementedPayment_APIServer) OpenSession ¶
func (*UnimplementedPayment_APIServer) OpenSession(context.Context, *OpenSessionReq) (*OpenSessionResp, error)
func (*UnimplementedPayment_APIServer) RegisterCurrency ¶ added in v0.6.0
func (*UnimplementedPayment_APIServer) RegisterCurrency(context.Context, *RegisterCurrencyReq) (*RegisterCurrencyResp, error)
func (*UnimplementedPayment_APIServer) RespondPayChProposal ¶
func (*UnimplementedPayment_APIServer) RespondPayChProposal(context.Context, *RespondPayChProposalReq) (*RespondPayChProposalResp, error)
func (*UnimplementedPayment_APIServer) RespondPayChUpdate ¶
func (*UnimplementedPayment_APIServer) RespondPayChUpdate(context.Context, *RespondPayChUpdateReq) (*RespondPayChUpdateResp, error)
func (*UnimplementedPayment_APIServer) SendPayChUpdate ¶
func (*UnimplementedPayment_APIServer) SendPayChUpdate(context.Context, *SendPayChUpdateReq) (*SendPayChUpdateResp, error)
func (*UnimplementedPayment_APIServer) SubPayChProposals ¶
func (*UnimplementedPayment_APIServer) SubPayChProposals(*SubPayChProposalsReq, Payment_API_SubPayChProposalsServer) error
func (*UnimplementedPayment_APIServer) SubPayChUpdates ¶
func (*UnimplementedPayment_APIServer) SubPayChUpdates(*SubpayChUpdatesReq, Payment_API_SubPayChUpdatesServer) error
func (*UnimplementedPayment_APIServer) UnsubPayChProposals ¶
func (*UnimplementedPayment_APIServer) UnsubPayChProposals(context.Context, *UnsubPayChProposalsReq) (*UnsubPayChProposalsResp, error)
func (*UnimplementedPayment_APIServer) UnsubPayChUpdates ¶
func (*UnimplementedPayment_APIServer) UnsubPayChUpdates(context.Context, *UnsubPayChUpdatesReq) (*UnsubPayChUpdatesResp, error)
type UnsubPayChProposalsReq ¶
type UnsubPayChProposalsReq struct { SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"` // contains filtered or unexported fields }
func (*UnsubPayChProposalsReq) Descriptor
deprecated
func (*UnsubPayChProposalsReq) Descriptor() ([]byte, []int)
Deprecated: Use UnsubPayChProposalsReq.ProtoReflect.Descriptor instead.
func (*UnsubPayChProposalsReq) GetSessionID ¶
func (x *UnsubPayChProposalsReq) GetSessionID() string
func (*UnsubPayChProposalsReq) ProtoMessage ¶
func (*UnsubPayChProposalsReq) ProtoMessage()
func (*UnsubPayChProposalsReq) ProtoReflect ¶
func (x *UnsubPayChProposalsReq) ProtoReflect() protoreflect.Message
func (*UnsubPayChProposalsReq) Reset ¶
func (x *UnsubPayChProposalsReq) Reset()
func (*UnsubPayChProposalsReq) String ¶
func (x *UnsubPayChProposalsReq) String() string
type UnsubPayChProposalsResp ¶
type UnsubPayChProposalsResp struct { // Types that are assignable to Response: // *UnsubPayChProposalsResp_MsgSuccess_ // *UnsubPayChProposalsResp_Error Response isUnsubPayChProposalsResp_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*UnsubPayChProposalsResp) Descriptor
deprecated
func (*UnsubPayChProposalsResp) Descriptor() ([]byte, []int)
Deprecated: Use UnsubPayChProposalsResp.ProtoReflect.Descriptor instead.
func (*UnsubPayChProposalsResp) GetError ¶
func (x *UnsubPayChProposalsResp) GetError() *MsgError
func (*UnsubPayChProposalsResp) GetMsgSuccess ¶
func (x *UnsubPayChProposalsResp) GetMsgSuccess() *UnsubPayChProposalsResp_MsgSuccess
func (*UnsubPayChProposalsResp) GetResponse ¶
func (m *UnsubPayChProposalsResp) GetResponse() isUnsubPayChProposalsResp_Response
func (*UnsubPayChProposalsResp) ProtoMessage ¶
func (*UnsubPayChProposalsResp) ProtoMessage()
func (*UnsubPayChProposalsResp) ProtoReflect ¶
func (x *UnsubPayChProposalsResp) ProtoReflect() protoreflect.Message
func (*UnsubPayChProposalsResp) Reset ¶
func (x *UnsubPayChProposalsResp) Reset()
func (*UnsubPayChProposalsResp) String ¶
func (x *UnsubPayChProposalsResp) String() string
type UnsubPayChProposalsResp_Error ¶
type UnsubPayChProposalsResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type UnsubPayChProposalsResp_MsgSuccess ¶
type UnsubPayChProposalsResp_MsgSuccess struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*UnsubPayChProposalsResp_MsgSuccess) Descriptor
deprecated
func (*UnsubPayChProposalsResp_MsgSuccess) Descriptor() ([]byte, []int)
Deprecated: Use UnsubPayChProposalsResp_MsgSuccess.ProtoReflect.Descriptor instead.
func (*UnsubPayChProposalsResp_MsgSuccess) GetSuccess ¶
func (x *UnsubPayChProposalsResp_MsgSuccess) GetSuccess() bool
func (*UnsubPayChProposalsResp_MsgSuccess) ProtoMessage ¶
func (*UnsubPayChProposalsResp_MsgSuccess) ProtoMessage()
func (*UnsubPayChProposalsResp_MsgSuccess) ProtoReflect ¶
func (x *UnsubPayChProposalsResp_MsgSuccess) ProtoReflect() protoreflect.Message
func (*UnsubPayChProposalsResp_MsgSuccess) Reset ¶
func (x *UnsubPayChProposalsResp_MsgSuccess) Reset()
func (*UnsubPayChProposalsResp_MsgSuccess) String ¶
func (x *UnsubPayChProposalsResp_MsgSuccess) String() string
type UnsubPayChProposalsResp_MsgSuccess_ ¶
type UnsubPayChProposalsResp_MsgSuccess_ struct {
MsgSuccess *UnsubPayChProposalsResp_MsgSuccess `protobuf:"bytes,1,opt,name=msgSuccess,proto3,oneof"`
}
type UnsubPayChUpdatesReq ¶
type UnsubPayChUpdatesReq struct { SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"` ChID string `protobuf:"bytes,2,opt,name=chID,proto3" json:"chID,omitempty"` // contains filtered or unexported fields }
func (*UnsubPayChUpdatesReq) Descriptor
deprecated
func (*UnsubPayChUpdatesReq) Descriptor() ([]byte, []int)
Deprecated: Use UnsubPayChUpdatesReq.ProtoReflect.Descriptor instead.
func (*UnsubPayChUpdatesReq) GetChID ¶ added in v0.4.0
func (x *UnsubPayChUpdatesReq) GetChID() string
func (*UnsubPayChUpdatesReq) GetSessionID ¶
func (x *UnsubPayChUpdatesReq) GetSessionID() string
func (*UnsubPayChUpdatesReq) ProtoMessage ¶
func (*UnsubPayChUpdatesReq) ProtoMessage()
func (*UnsubPayChUpdatesReq) ProtoReflect ¶
func (x *UnsubPayChUpdatesReq) ProtoReflect() protoreflect.Message
func (*UnsubPayChUpdatesReq) Reset ¶
func (x *UnsubPayChUpdatesReq) Reset()
func (*UnsubPayChUpdatesReq) String ¶
func (x *UnsubPayChUpdatesReq) String() string
type UnsubPayChUpdatesResp ¶
type UnsubPayChUpdatesResp struct { // Types that are assignable to Response: // *UnsubPayChUpdatesResp_MsgSuccess_ // *UnsubPayChUpdatesResp_Error Response isUnsubPayChUpdatesResp_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*UnsubPayChUpdatesResp) Descriptor
deprecated
func (*UnsubPayChUpdatesResp) Descriptor() ([]byte, []int)
Deprecated: Use UnsubPayChUpdatesResp.ProtoReflect.Descriptor instead.
func (*UnsubPayChUpdatesResp) GetError ¶
func (x *UnsubPayChUpdatesResp) GetError() *MsgError
func (*UnsubPayChUpdatesResp) GetMsgSuccess ¶
func (x *UnsubPayChUpdatesResp) GetMsgSuccess() *UnsubPayChUpdatesResp_MsgSuccess
func (*UnsubPayChUpdatesResp) GetResponse ¶
func (m *UnsubPayChUpdatesResp) GetResponse() isUnsubPayChUpdatesResp_Response
func (*UnsubPayChUpdatesResp) ProtoMessage ¶
func (*UnsubPayChUpdatesResp) ProtoMessage()
func (*UnsubPayChUpdatesResp) ProtoReflect ¶
func (x *UnsubPayChUpdatesResp) ProtoReflect() protoreflect.Message
func (*UnsubPayChUpdatesResp) Reset ¶
func (x *UnsubPayChUpdatesResp) Reset()
func (*UnsubPayChUpdatesResp) String ¶
func (x *UnsubPayChUpdatesResp) String() string
type UnsubPayChUpdatesResp_Error ¶
type UnsubPayChUpdatesResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type UnsubPayChUpdatesResp_MsgSuccess ¶
type UnsubPayChUpdatesResp_MsgSuccess struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*UnsubPayChUpdatesResp_MsgSuccess) Descriptor
deprecated
func (*UnsubPayChUpdatesResp_MsgSuccess) Descriptor() ([]byte, []int)
Deprecated: Use UnsubPayChUpdatesResp_MsgSuccess.ProtoReflect.Descriptor instead.
func (*UnsubPayChUpdatesResp_MsgSuccess) GetSuccess ¶
func (x *UnsubPayChUpdatesResp_MsgSuccess) GetSuccess() bool
func (*UnsubPayChUpdatesResp_MsgSuccess) ProtoMessage ¶
func (*UnsubPayChUpdatesResp_MsgSuccess) ProtoMessage()
func (*UnsubPayChUpdatesResp_MsgSuccess) ProtoReflect ¶
func (x *UnsubPayChUpdatesResp_MsgSuccess) ProtoReflect() protoreflect.Message
func (*UnsubPayChUpdatesResp_MsgSuccess) Reset ¶
func (x *UnsubPayChUpdatesResp_MsgSuccess) Reset()
func (*UnsubPayChUpdatesResp_MsgSuccess) String ¶
func (x *UnsubPayChUpdatesResp_MsgSuccess) String() string
type UnsubPayChUpdatesResp_MsgSuccess_ ¶
type UnsubPayChUpdatesResp_MsgSuccess_ struct {
MsgSuccess *UnsubPayChUpdatesResp_MsgSuccess `protobuf:"bytes,1,opt,name=msgSuccess,proto3,oneof"`
}