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 AddContactReq
- func (*AddContactReq) Descriptor() ([]byte, []int)deprecated
- func (x *AddContactReq) GetPeer() *Peer
- func (x *AddContactReq) GetSessionID() string
- func (*AddContactReq) ProtoMessage()
- func (x *AddContactReq) ProtoReflect() protoreflect.Message
- func (x *AddContactReq) Reset()
- func (x *AddContactReq) String() string
- type AddContactResp
- func (*AddContactResp) Descriptor() ([]byte, []int)deprecated
- func (x *AddContactResp) GetError() *MsgError
- func (x *AddContactResp) GetMsgSuccess() *AddContactResp_MsgSuccess
- func (m *AddContactResp) GetResponse() isAddContactResp_Response
- func (*AddContactResp) ProtoMessage()
- func (x *AddContactResp) ProtoReflect() protoreflect.Message
- func (x *AddContactResp) Reset()
- func (x *AddContactResp) String() string
- type AddContactResp_Error
- type AddContactResp_MsgSuccess
- func (*AddContactResp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *AddContactResp_MsgSuccess) GetSuccess() bool
- func (*AddContactResp_MsgSuccess) ProtoMessage()
- func (x *AddContactResp_MsgSuccess) ProtoReflect() protoreflect.Message
- func (x *AddContactResp_MsgSuccess) Reset()
- func (x *AddContactResp_MsgSuccess) String() string
- type AddContactResp_MsgSuccess_
- type BalInfo
- func (*BalInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BalInfo) GetBal() []string
- func (x *BalInfo) GetCurrency() 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 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() *CloseSessionResp_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_MsgError
- func (*CloseSessionResp_MsgError) Descriptor() ([]byte, []int)deprecated
- func (x *CloseSessionResp_MsgError) GetError() string
- func (x *CloseSessionResp_MsgError) GetOpenPayChsInfo() []*PayChInfo
- func (*CloseSessionResp_MsgError) ProtoMessage()
- func (x *CloseSessionResp_MsgError) ProtoReflect() protoreflect.Message
- func (x *CloseSessionResp_MsgError) Reset()
- func (x *CloseSessionResp_MsgError) String() string
- 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 GetConfigReq
- type GetConfigResp
- func (*GetConfigResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigResp) GetAdjudicatorAddress() string
- func (x *GetConfigResp) GetAssetAddress() string
- func (x *GetConfigResp) GetChainAddress() string
- func (x *GetConfigResp) GetCommTypes() []string
- func (x *GetConfigResp) GetContactTypes() []string
- func (*GetConfigResp) ProtoMessage()
- func (x *GetConfigResp) ProtoReflect() protoreflect.Message
- func (x *GetConfigResp) Reset()
- func (x *GetConfigResp) String() string
- type GetContactReq
- func (*GetContactReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetContactReq) GetAlias() string
- func (x *GetContactReq) GetSessionID() string
- func (*GetContactReq) ProtoMessage()
- func (x *GetContactReq) ProtoReflect() protoreflect.Message
- func (x *GetContactReq) Reset()
- func (x *GetContactReq) String() string
- type GetContactResp
- func (*GetContactResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetContactResp) GetError() *MsgError
- func (x *GetContactResp) GetMsgSuccess() *GetContactResp_MsgSuccess
- func (m *GetContactResp) GetResponse() isGetContactResp_Response
- func (*GetContactResp) ProtoMessage()
- func (x *GetContactResp) ProtoReflect() protoreflect.Message
- func (x *GetContactResp) Reset()
- func (x *GetContactResp) String() string
- type GetContactResp_Error
- type GetContactResp_MsgSuccess
- func (*GetContactResp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *GetContactResp_MsgSuccess) GetPeer() *Peer
- func (*GetContactResp_MsgSuccess) ProtoMessage()
- func (x *GetContactResp_MsgSuccess) ProtoReflect() protoreflect.Message
- func (x *GetContactResp_MsgSuccess) Reset()
- func (x *GetContactResp_MsgSuccess) String() string
- type GetContactResp_MsgSuccess_
- 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 HelpReq
- type HelpResp
- type MsgError
- 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_APIClient
- type Payment_APIServer
- type Payment_API_SubPayChProposalsClient
- type Payment_API_SubPayChProposalsServer
- type Payment_API_SubPayChUpdatesClient
- type Payment_API_SubPayChUpdatesServer
- type Peer
- func (*Peer) Descriptor() ([]byte, []int)deprecated
- func (x *Peer) GetAlias() string
- func (x *Peer) GetCommAddress() string
- func (x *Peer) GetCommType() string
- func (x *Peer) GetOffChainAddress() string
- func (*Peer) ProtoMessage()
- func (x *Peer) ProtoReflect() protoreflect.Message
- func (x *Peer) Reset()
- func (x *Peer) String() string
- 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) GetAmount() string
- func (x *SendPayChUpdateReq) GetChID() string
- func (x *SendPayChUpdateReq) GetPayee() string
- 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() string
- 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) AddContact(context.Context, *AddContactReq) (*AddContactResp, error)
- func (*UnimplementedPayment_APIServer) ClosePayCh(context.Context, *ClosePayChReq) (*ClosePayChResp, error)
- func (*UnimplementedPayment_APIServer) CloseSession(context.Context, *CloseSessionReq) (*CloseSessionResp, error)
- func (*UnimplementedPayment_APIServer) GetConfig(context.Context, *GetConfigReq) (*GetConfigResp, error)
- func (*UnimplementedPayment_APIServer) GetContact(context.Context, *GetContactReq) (*GetContactResp, error)
- func (*UnimplementedPayment_APIServer) GetPayChInfo(context.Context, *GetPayChInfoReq) (*GetPayChInfoResp, error)
- func (*UnimplementedPayment_APIServer) GetPayChsInfo(context.Context, *GetPayChsInfoReq) (*GetPayChsInfoResp, 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) 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 ( 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 AddContactReq ¶
type AddContactReq struct {
SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
Peer *Peer `protobuf:"bytes,2,opt,name=peer,proto3" json:"peer,omitempty"`
// contains filtered or unexported fields
}
func (*AddContactReq) Descriptor
deprecated
func (*AddContactReq) Descriptor() ([]byte, []int)
Deprecated: Use AddContactReq.ProtoReflect.Descriptor instead.
func (*AddContactReq) GetPeer ¶
func (x *AddContactReq) GetPeer() *Peer
func (*AddContactReq) GetSessionID ¶
func (x *AddContactReq) GetSessionID() string
func (*AddContactReq) ProtoMessage ¶
func (*AddContactReq) ProtoMessage()
func (*AddContactReq) ProtoReflect ¶
func (x *AddContactReq) ProtoReflect() protoreflect.Message
func (*AddContactReq) Reset ¶
func (x *AddContactReq) Reset()
func (*AddContactReq) String ¶
func (x *AddContactReq) String() string
type AddContactResp ¶
type AddContactResp struct {
// Types that are assignable to Response:
// *AddContactResp_MsgSuccess_
// *AddContactResp_Error
Response isAddContactResp_Response `protobuf_oneof:"response"`
// contains filtered or unexported fields
}
func (*AddContactResp) Descriptor
deprecated
func (*AddContactResp) Descriptor() ([]byte, []int)
Deprecated: Use AddContactResp.ProtoReflect.Descriptor instead.
func (*AddContactResp) GetError ¶
func (x *AddContactResp) GetError() *MsgError
func (*AddContactResp) GetMsgSuccess ¶
func (x *AddContactResp) GetMsgSuccess() *AddContactResp_MsgSuccess
func (*AddContactResp) GetResponse ¶
func (m *AddContactResp) GetResponse() isAddContactResp_Response
func (*AddContactResp) ProtoMessage ¶
func (*AddContactResp) ProtoMessage()
func (*AddContactResp) ProtoReflect ¶
func (x *AddContactResp) ProtoReflect() protoreflect.Message
func (*AddContactResp) Reset ¶
func (x *AddContactResp) Reset()
func (*AddContactResp) String ¶
func (x *AddContactResp) String() string
type AddContactResp_Error ¶
type AddContactResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type AddContactResp_MsgSuccess ¶
type AddContactResp_MsgSuccess struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// contains filtered or unexported fields
}
func (*AddContactResp_MsgSuccess) Descriptor
deprecated
func (*AddContactResp_MsgSuccess) Descriptor() ([]byte, []int)
Deprecated: Use AddContactResp_MsgSuccess.ProtoReflect.Descriptor instead.
func (*AddContactResp_MsgSuccess) GetSuccess ¶
func (x *AddContactResp_MsgSuccess) GetSuccess() bool
func (*AddContactResp_MsgSuccess) ProtoMessage ¶
func (*AddContactResp_MsgSuccess) ProtoMessage()
func (*AddContactResp_MsgSuccess) ProtoReflect ¶
func (x *AddContactResp_MsgSuccess) ProtoReflect() protoreflect.Message
func (*AddContactResp_MsgSuccess) Reset ¶
func (x *AddContactResp_MsgSuccess) Reset()
func (*AddContactResp_MsgSuccess) String ¶
func (x *AddContactResp_MsgSuccess) String() string
type AddContactResp_MsgSuccess_ ¶
type AddContactResp_MsgSuccess_ struct {
MsgSuccess *AddContactResp_MsgSuccess `protobuf:"bytes,1,opt,name=msgSuccess,proto3,oneof"`
}
type BalInfo ¶ added in v0.4.0
type BalInfo struct {
Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
Parts []string `protobuf:"bytes,2,rep,name=parts,proto3" json:"parts,omitempty"`
Bal []string `protobuf:"bytes,3,rep,name=bal,proto3" json:"bal,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) GetCurrency ¶ added in v0.4.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 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() *CloseSessionResp_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 *CloseSessionResp_MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type CloseSessionResp_MsgError ¶ added in v0.4.0
type CloseSessionResp_MsgError struct {
OpenPayChsInfo []*PayChInfo `protobuf:"bytes,1,rep,name=openPayChsInfo,proto3" json:"openPayChsInfo,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*CloseSessionResp_MsgError) Descriptor
deprecated
added in
v0.4.0
func (*CloseSessionResp_MsgError) Descriptor() ([]byte, []int)
Deprecated: Use CloseSessionResp_MsgError.ProtoReflect.Descriptor instead.
func (*CloseSessionResp_MsgError) GetError ¶ added in v0.4.0
func (x *CloseSessionResp_MsgError) GetError() string
func (*CloseSessionResp_MsgError) GetOpenPayChsInfo ¶ added in v0.4.0
func (x *CloseSessionResp_MsgError) GetOpenPayChsInfo() []*PayChInfo
func (*CloseSessionResp_MsgError) ProtoMessage ¶ added in v0.4.0
func (*CloseSessionResp_MsgError) ProtoMessage()
func (*CloseSessionResp_MsgError) ProtoReflect ¶ added in v0.4.0
func (x *CloseSessionResp_MsgError) ProtoReflect() protoreflect.Message
func (*CloseSessionResp_MsgError) Reset ¶ added in v0.4.0
func (x *CloseSessionResp_MsgError) Reset()
func (*CloseSessionResp_MsgError) String ¶ added in v0.4.0
func (x *CloseSessionResp_MsgError) String() string
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 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"`
AdjudicatorAddress string `protobuf:"bytes,2,opt,name=adjudicatorAddress,proto3" json:"adjudicatorAddress,omitempty"`
AssetAddress string `protobuf:"bytes,3,opt,name=assetAddress,proto3" json:"assetAddress,omitempty"`
CommTypes []string `protobuf:"bytes,4,rep,name=commTypes,proto3" json:"commTypes,omitempty"`
ContactTypes []string `protobuf:"bytes,5,rep,name=contactTypes,proto3" json:"contactTypes,omitempty"`
// contains filtered or unexported fields
}
func (*GetConfigResp) Descriptor
deprecated
func (*GetConfigResp) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigResp.ProtoReflect.Descriptor instead.
func (*GetConfigResp) GetAdjudicatorAddress ¶
func (x *GetConfigResp) GetAdjudicatorAddress() string
func (*GetConfigResp) GetAssetAddress ¶
func (x *GetConfigResp) GetAssetAddress() string
func (*GetConfigResp) GetChainAddress ¶
func (x *GetConfigResp) GetChainAddress() string
func (*GetConfigResp) GetCommTypes ¶
func (x *GetConfigResp) GetCommTypes() []string
func (*GetConfigResp) GetContactTypes ¶
func (x *GetConfigResp) GetContactTypes() []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 GetContactReq ¶
type GetContactReq 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 (*GetContactReq) Descriptor
deprecated
func (*GetContactReq) Descriptor() ([]byte, []int)
Deprecated: Use GetContactReq.ProtoReflect.Descriptor instead.
func (*GetContactReq) GetAlias ¶
func (x *GetContactReq) GetAlias() string
func (*GetContactReq) GetSessionID ¶
func (x *GetContactReq) GetSessionID() string
func (*GetContactReq) ProtoMessage ¶
func (*GetContactReq) ProtoMessage()
func (*GetContactReq) ProtoReflect ¶
func (x *GetContactReq) ProtoReflect() protoreflect.Message
func (*GetContactReq) Reset ¶
func (x *GetContactReq) Reset()
func (*GetContactReq) String ¶
func (x *GetContactReq) String() string
type GetContactResp ¶
type GetContactResp struct {
// Types that are assignable to Response:
// *GetContactResp_MsgSuccess_
// *GetContactResp_Error
Response isGetContactResp_Response `protobuf_oneof:"response"`
// contains filtered or unexported fields
}
func (*GetContactResp) Descriptor
deprecated
func (*GetContactResp) Descriptor() ([]byte, []int)
Deprecated: Use GetContactResp.ProtoReflect.Descriptor instead.
func (*GetContactResp) GetError ¶
func (x *GetContactResp) GetError() *MsgError
func (*GetContactResp) GetMsgSuccess ¶
func (x *GetContactResp) GetMsgSuccess() *GetContactResp_MsgSuccess
func (*GetContactResp) GetResponse ¶
func (m *GetContactResp) GetResponse() isGetContactResp_Response
func (*GetContactResp) ProtoMessage ¶
func (*GetContactResp) ProtoMessage()
func (*GetContactResp) ProtoReflect ¶
func (x *GetContactResp) ProtoReflect() protoreflect.Message
func (*GetContactResp) Reset ¶
func (x *GetContactResp) Reset()
func (*GetContactResp) String ¶
func (x *GetContactResp) String() string
type GetContactResp_Error ¶
type GetContactResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type GetContactResp_MsgSuccess ¶
type GetContactResp_MsgSuccess struct {
Peer *Peer `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"`
// contains filtered or unexported fields
}
func (*GetContactResp_MsgSuccess) Descriptor
deprecated
func (*GetContactResp_MsgSuccess) Descriptor() ([]byte, []int)
Deprecated: Use GetContactResp_MsgSuccess.ProtoReflect.Descriptor instead.
func (*GetContactResp_MsgSuccess) GetPeer ¶
func (x *GetContactResp_MsgSuccess) GetPeer() *Peer
func (*GetContactResp_MsgSuccess) ProtoMessage ¶
func (*GetContactResp_MsgSuccess) ProtoMessage()
func (*GetContactResp_MsgSuccess) ProtoReflect ¶
func (x *GetContactResp_MsgSuccess) ProtoReflect() protoreflect.Message
func (*GetContactResp_MsgSuccess) Reset ¶
func (x *GetContactResp_MsgSuccess) Reset()
func (*GetContactResp_MsgSuccess) String ¶
func (x *GetContactResp_MsgSuccess) String() string
type GetContactResp_MsgSuccess_ ¶
type GetContactResp_MsgSuccess_ struct {
MsgSuccess *GetContactResp_MsgSuccess `protobuf:"bytes,1,opt,name=msgSuccess,proto3,oneof"`
}
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 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 {
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*MsgError) Descriptor
deprecated
func (*MsgError) ProtoMessage ¶
func (*MsgError) ProtoMessage()
func (*MsgError) ProtoReflect ¶
func (x *MsgError) ProtoReflect() protoreflect.Message
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_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)
Help(ctx context.Context, in *HelpReq, opts ...grpc.CallOption) (*HelpResp, error)
AddContact(ctx context.Context, in *AddContactReq, opts ...grpc.CallOption) (*AddContactResp, error)
GetContact(ctx context.Context, in *GetContactReq, opts ...grpc.CallOption) (*GetContactResp, 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)
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)
Help(context.Context, *HelpReq) (*HelpResp, error)
AddContact(context.Context, *AddContactReq) (*AddContactResp, error)
GetContact(context.Context, *GetContactReq) (*GetContactResp, 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)
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 Peer ¶
type Peer 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 represents a peer in the off-chain network.
func (*Peer) Descriptor
deprecated
func (*Peer) GetCommAddress ¶
func (*Peer) GetCommType ¶
func (*Peer) GetOffChainAddress ¶
func (*Peer) ProtoMessage ¶
func (*Peer) ProtoMessage()
func (*Peer) ProtoReflect ¶
func (x *Peer) ProtoReflect() protoreflect.Message
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"`
Payee string `protobuf:"bytes,3,opt,name=payee,proto3" json:"payee,omitempty"`
Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
// contains filtered or unexported fields
}
func (*SendPayChUpdateReq) Descriptor
deprecated
func (*SendPayChUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use SendPayChUpdateReq.ProtoReflect.Descriptor instead.
func (*SendPayChUpdateReq) GetAmount ¶
func (x *SendPayChUpdateReq) GetAmount() string
func (*SendPayChUpdateReq) GetChID ¶ added in v0.4.0
func (x *SendPayChUpdateReq) GetChID() string
func (*SendPayChUpdateReq) GetPayee ¶
func (x *SendPayChUpdateReq) GetPayee() string
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 string `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() string
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) AddContact ¶
func (*UnimplementedPayment_APIServer) AddContact(context.Context, *AddContactReq) (*AddContactResp, 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) GetConfig ¶
func (*UnimplementedPayment_APIServer) GetConfig(context.Context, *GetConfigReq) (*GetConfigResp, error)
func (*UnimplementedPayment_APIServer) GetContact ¶
func (*UnimplementedPayment_APIServer) GetContact(context.Context, *GetContactReq) (*GetContactResp, 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) 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) 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"`
}