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 BalanceInfo
- func (*BalanceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BalanceInfo) GetBalances() []*BalanceInfo_AliasBalance
- func (x *BalanceInfo) GetCurrency() string
- func (*BalanceInfo) ProtoMessage()
- func (x *BalanceInfo) ProtoReflect() protoreflect.Message
- func (x *BalanceInfo) Reset()
- func (x *BalanceInfo) String() string
- type BalanceInfo_AliasBalance
- func (*BalanceInfo_AliasBalance) Descriptor() ([]byte, []int)deprecated
- func (x *BalanceInfo_AliasBalance) GetValue() map[string]string
- func (*BalanceInfo_AliasBalance) ProtoMessage()
- func (x *BalanceInfo_AliasBalance) ProtoReflect() protoreflect.Message
- func (x *BalanceInfo_AliasBalance) Reset()
- func (x *BalanceInfo_AliasBalance) String() string
- type ClosePayChReq
- func (*ClosePayChReq) Descriptor() ([]byte, []int)deprecated
- func (x *ClosePayChReq) GetChannelID() 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) GetClosingBalance() *BalanceInfo
- func (x *ClosePayChResp_MsgSuccess) GetClosingVersion() string
- 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) GetErro() string
- 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_Erro
- type CloseSessionResp_MsgSuccess
- func (*CloseSessionResp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *CloseSessionResp_MsgSuccess) GetUnclosedChannels() []*PaymentChannel
- 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 GetPayChBalanceReq
- func (*GetPayChBalanceReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetPayChBalanceReq) GetChannelID() string
- func (x *GetPayChBalanceReq) GetSessionID() string
- func (*GetPayChBalanceReq) ProtoMessage()
- func (x *GetPayChBalanceReq) ProtoReflect() protoreflect.Message
- func (x *GetPayChBalanceReq) Reset()
- func (x *GetPayChBalanceReq) String() string
- type GetPayChBalanceResp
- func (*GetPayChBalanceResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetPayChBalanceResp) GetError() *MsgError
- func (x *GetPayChBalanceResp) GetMsgSuccess() *GetPayChBalanceResp_MsgSuccess
- func (m *GetPayChBalanceResp) GetResponse() isGetPayChBalanceResp_Response
- func (*GetPayChBalanceResp) ProtoMessage()
- func (x *GetPayChBalanceResp) ProtoReflect() protoreflect.Message
- func (x *GetPayChBalanceResp) Reset()
- func (x *GetPayChBalanceResp) String() string
- type GetPayChBalanceResp_Error
- type GetPayChBalanceResp_MsgSuccess
- func (*GetPayChBalanceResp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *GetPayChBalanceResp_MsgSuccess) GetCurrentBalance() *BalanceInfo
- func (x *GetPayChBalanceResp_MsgSuccess) GetCurrentVersion() string
- func (*GetPayChBalanceResp_MsgSuccess) ProtoMessage()
- func (x *GetPayChBalanceResp_MsgSuccess) ProtoReflect() protoreflect.Message
- func (x *GetPayChBalanceResp_MsgSuccess) Reset()
- func (x *GetPayChBalanceResp_MsgSuccess) String() string
- type GetPayChBalanceResp_MsgSuccess_
- type GetPayChsReq
- type GetPayChsResp
- func (*GetPayChsResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetPayChsResp) GetError() *MsgError
- func (x *GetPayChsResp) GetMsgSuccess() *GetPayChsResp_MsgSuccess
- func (m *GetPayChsResp) GetResponse() isGetPayChsResp_Response
- func (*GetPayChsResp) ProtoMessage()
- func (x *GetPayChsResp) ProtoReflect() protoreflect.Message
- func (x *GetPayChsResp) Reset()
- func (x *GetPayChsResp) String() string
- type GetPayChsResp_Error
- type GetPayChsResp_MsgSuccess
- func (*GetPayChsResp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *GetPayChsResp_MsgSuccess) GetOpenChannels() []*PaymentChannel
- func (*GetPayChsResp_MsgSuccess) ProtoMessage()
- func (x *GetPayChsResp_MsgSuccess) ProtoReflect() protoreflect.Message
- func (x *GetPayChsResp_MsgSuccess) Reset()
- func (x *GetPayChsResp_MsgSuccess) String() string
- type GetPayChsResp_MsgSuccess_
- type HelpReq
- type HelpResp
- type MsgError
- type OpenPayChReq
- func (*OpenPayChReq) Descriptor() ([]byte, []int)deprecated
- func (x *OpenPayChReq) GetChallengeDurSecs() uint64
- func (x *OpenPayChReq) GetOpeningBalance() *BalanceInfo
- func (x *OpenPayChReq) GetPeerAlias() string
- 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) GetChannel() *PaymentChannel
- 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) 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 PaymentChannel
- func (*PaymentChannel) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentChannel) GetBalanceinfo() *BalanceInfo
- func (x *PaymentChannel) GetChannelID() string
- func (x *PaymentChannel) GetVersion() string
- func (*PaymentChannel) ProtoMessage()
- func (x *PaymentChannel) ProtoReflect() protoreflect.Message
- func (x *PaymentChannel) Reset()
- func (x *PaymentChannel) String() string
- type Payment_APIClient
- type Payment_APIServer
- type Payment_API_SubPayChClosesClient
- type Payment_API_SubPayChClosesServer
- 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) GetChannel() *PaymentChannel
- func (x *RespondPayChProposalResp_MsgSuccess) GetSuccess() bool
- 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) GetChannelID() 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) GetSuccess() bool
- 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) GetChannelID() 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) GetSuccess() bool
- 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 SubPayChClosesReq
- type SubPayChClosesResp
- func (*SubPayChClosesResp) Descriptor() ([]byte, []int)deprecated
- func (x *SubPayChClosesResp) GetError() *MsgError
- func (x *SubPayChClosesResp) GetNotify() *SubPayChClosesResp_Notify
- func (m *SubPayChClosesResp) GetResponse() isSubPayChClosesResp_Response
- func (*SubPayChClosesResp) ProtoMessage()
- func (x *SubPayChClosesResp) ProtoReflect() protoreflect.Message
- func (x *SubPayChClosesResp) Reset()
- func (x *SubPayChClosesResp) String() string
- type SubPayChClosesResp_Error
- type SubPayChClosesResp_Notify
- func (*SubPayChClosesResp_Notify) Descriptor() ([]byte, []int)deprecated
- func (x *SubPayChClosesResp_Notify) GetClosingState() *PaymentChannel
- func (x *SubPayChClosesResp_Notify) GetError() string
- func (*SubPayChClosesResp_Notify) ProtoMessage()
- func (x *SubPayChClosesResp_Notify) ProtoReflect() protoreflect.Message
- func (x *SubPayChClosesResp_Notify) Reset()
- func (x *SubPayChClosesResp_Notify) String() string
- type SubPayChClosesResp_Notify_
- 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) GetOpeningBalance() *BalanceInfo
- 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) GetExpiry() int64
- func (x *SubPayChUpdatesResp_Notify) GetFinal() bool
- func (x *SubPayChUpdatesResp_Notify) GetProposedBalance() *BalanceInfo
- 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 SubpayChUpdatesReq
- func (*SubpayChUpdatesReq) Descriptor() ([]byte, []int)deprecated
- func (x *SubpayChUpdatesReq) GetChannelID() 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) GetPayChBalance(context.Context, *GetPayChBalanceReq) (*GetPayChBalanceResp, error)
- func (*UnimplementedPayment_APIServer) GetPayChs(context.Context, *GetPayChsReq) (*GetPayChsResp, 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) SubPayChCloses(*SubPayChClosesReq, Payment_API_SubPayChClosesServer) 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) UnsubPayChClose(context.Context, *UnsubPayChClosesReq) (*UnsubPayChClosesResp, error)
- func (*UnimplementedPayment_APIServer) UnsubPayChProposals(context.Context, *UnsubPayChProposalsReq) (*UnsubPayChProposalsResp, error)
- func (*UnimplementedPayment_APIServer) UnsubPayChUpdates(context.Context, *UnsubPayChUpdatesReq) (*UnsubPayChUpdatesResp, error)
- type UnsubPayChClosesReq
- func (*UnsubPayChClosesReq) Descriptor() ([]byte, []int)deprecated
- func (x *UnsubPayChClosesReq) GetSessionID() string
- func (*UnsubPayChClosesReq) ProtoMessage()
- func (x *UnsubPayChClosesReq) ProtoReflect() protoreflect.Message
- func (x *UnsubPayChClosesReq) Reset()
- func (x *UnsubPayChClosesReq) String() string
- type UnsubPayChClosesResp
- func (*UnsubPayChClosesResp) Descriptor() ([]byte, []int)deprecated
- func (x *UnsubPayChClosesResp) GetError() *MsgError
- func (x *UnsubPayChClosesResp) GetMsgSuccess() *UnsubPayChClosesResp_MsgSuccess
- func (m *UnsubPayChClosesResp) GetResponse() isUnsubPayChClosesResp_Response
- func (*UnsubPayChClosesResp) ProtoMessage()
- func (x *UnsubPayChClosesResp) ProtoReflect() protoreflect.Message
- func (x *UnsubPayChClosesResp) Reset()
- func (x *UnsubPayChClosesResp) String() string
- type UnsubPayChClosesResp_Error
- type UnsubPayChClosesResp_MsgSuccess
- func (*UnsubPayChClosesResp_MsgSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *UnsubPayChClosesResp_MsgSuccess) GetSuccess() bool
- func (*UnsubPayChClosesResp_MsgSuccess) ProtoMessage()
- func (x *UnsubPayChClosesResp_MsgSuccess) ProtoReflect() protoreflect.Message
- func (x *UnsubPayChClosesResp_MsgSuccess) Reset()
- func (x *UnsubPayChClosesResp_MsgSuccess) String() string
- type UnsubPayChClosesResp_MsgSuccess_
- 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) GetChannelID() 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 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 BalanceInfo ¶
type BalanceInfo struct {
Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
Balances []*BalanceInfo_AliasBalance `protobuf:"bytes,2,rep,name=balances,proto3" json:"balances,omitempty"`
// contains filtered or unexported fields
}
BalanceInfo represents the balanace of the corresponding alias and the currency used for specifying the amount.
func (*BalanceInfo) Descriptor
deprecated
func (*BalanceInfo) Descriptor() ([]byte, []int)
Deprecated: Use BalanceInfo.ProtoReflect.Descriptor instead.
func (*BalanceInfo) GetBalances ¶
func (x *BalanceInfo) GetBalances() []*BalanceInfo_AliasBalance
func (*BalanceInfo) GetCurrency ¶
func (x *BalanceInfo) GetCurrency() string
func (*BalanceInfo) ProtoMessage ¶
func (*BalanceInfo) ProtoMessage()
func (*BalanceInfo) ProtoReflect ¶
func (x *BalanceInfo) ProtoReflect() protoreflect.Message
func (*BalanceInfo) Reset ¶
func (x *BalanceInfo) Reset()
func (*BalanceInfo) String ¶
func (x *BalanceInfo) String() string
type BalanceInfo_AliasBalance ¶
type BalanceInfo_AliasBalance struct {
Value map[string]string `` /* 151-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*BalanceInfo_AliasBalance) Descriptor
deprecated
func (*BalanceInfo_AliasBalance) Descriptor() ([]byte, []int)
Deprecated: Use BalanceInfo_AliasBalance.ProtoReflect.Descriptor instead.
func (*BalanceInfo_AliasBalance) GetValue ¶
func (x *BalanceInfo_AliasBalance) GetValue() map[string]string
func (*BalanceInfo_AliasBalance) ProtoMessage ¶
func (*BalanceInfo_AliasBalance) ProtoMessage()
func (*BalanceInfo_AliasBalance) ProtoReflect ¶
func (x *BalanceInfo_AliasBalance) ProtoReflect() protoreflect.Message
func (*BalanceInfo_AliasBalance) Reset ¶
func (x *BalanceInfo_AliasBalance) Reset()
func (*BalanceInfo_AliasBalance) String ¶
func (x *BalanceInfo_AliasBalance) String() string
type ClosePayChReq ¶
type ClosePayChReq struct {
SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
ChannelID string `protobuf:"bytes,2,opt,name=channelID,proto3" json:"channelID,omitempty"`
// contains filtered or unexported fields
}
func (*ClosePayChReq) Descriptor
deprecated
func (*ClosePayChReq) Descriptor() ([]byte, []int)
Deprecated: Use ClosePayChReq.ProtoReflect.Descriptor instead.
func (*ClosePayChReq) GetChannelID ¶
func (x *ClosePayChReq) GetChannelID() 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 {
ClosingBalance *BalanceInfo `protobuf:"bytes,1,opt,name=closingBalance,proto3" json:"closingBalance,omitempty"`
ClosingVersion string `protobuf:"bytes,2,opt,name=closingVersion,proto3" json:"closingVersion,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) GetClosingBalance ¶
func (x *ClosePayChResp_MsgSuccess) GetClosingBalance() *BalanceInfo
func (*ClosePayChResp_MsgSuccess) GetClosingVersion ¶
func (x *ClosePayChResp_MsgSuccess) GetClosingVersion() string
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_Erro
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) GetErro ¶
func (x *CloseSessionResp) GetErro() string
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_Erro ¶
type CloseSessionResp_Erro struct {
Erro string `protobuf:"bytes,2,opt,name=erro,proto3,oneof"`
}
type CloseSessionResp_MsgSuccess ¶
type CloseSessionResp_MsgSuccess struct {
UnclosedChannels []*PaymentChannel `protobuf:"bytes,2,rep,name=unclosedChannels,proto3" json:"unclosedChannels,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) GetUnclosedChannels ¶
func (x *CloseSessionResp_MsgSuccess) GetUnclosedChannels() []*PaymentChannel
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 GetPayChBalanceReq ¶
type GetPayChBalanceReq struct {
SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
ChannelID string `protobuf:"bytes,2,opt,name=channelID,proto3" json:"channelID,omitempty"`
// contains filtered or unexported fields
}
func (*GetPayChBalanceReq) Descriptor
deprecated
func (*GetPayChBalanceReq) Descriptor() ([]byte, []int)
Deprecated: Use GetPayChBalanceReq.ProtoReflect.Descriptor instead.
func (*GetPayChBalanceReq) GetChannelID ¶
func (x *GetPayChBalanceReq) GetChannelID() string
func (*GetPayChBalanceReq) GetSessionID ¶
func (x *GetPayChBalanceReq) GetSessionID() string
func (*GetPayChBalanceReq) ProtoMessage ¶
func (*GetPayChBalanceReq) ProtoMessage()
func (*GetPayChBalanceReq) ProtoReflect ¶
func (x *GetPayChBalanceReq) ProtoReflect() protoreflect.Message
func (*GetPayChBalanceReq) Reset ¶
func (x *GetPayChBalanceReq) Reset()
func (*GetPayChBalanceReq) String ¶
func (x *GetPayChBalanceReq) String() string
type GetPayChBalanceResp ¶
type GetPayChBalanceResp struct {
// Types that are assignable to Response:
// *GetPayChBalanceResp_MsgSuccess_
// *GetPayChBalanceResp_Error
Response isGetPayChBalanceResp_Response `protobuf_oneof:"response"`
// contains filtered or unexported fields
}
func (*GetPayChBalanceResp) Descriptor
deprecated
func (*GetPayChBalanceResp) Descriptor() ([]byte, []int)
Deprecated: Use GetPayChBalanceResp.ProtoReflect.Descriptor instead.
func (*GetPayChBalanceResp) GetError ¶
func (x *GetPayChBalanceResp) GetError() *MsgError
func (*GetPayChBalanceResp) GetMsgSuccess ¶
func (x *GetPayChBalanceResp) GetMsgSuccess() *GetPayChBalanceResp_MsgSuccess
func (*GetPayChBalanceResp) GetResponse ¶
func (m *GetPayChBalanceResp) GetResponse() isGetPayChBalanceResp_Response
func (*GetPayChBalanceResp) ProtoMessage ¶
func (*GetPayChBalanceResp) ProtoMessage()
func (*GetPayChBalanceResp) ProtoReflect ¶
func (x *GetPayChBalanceResp) ProtoReflect() protoreflect.Message
func (*GetPayChBalanceResp) Reset ¶
func (x *GetPayChBalanceResp) Reset()
func (*GetPayChBalanceResp) String ¶
func (x *GetPayChBalanceResp) String() string
type GetPayChBalanceResp_Error ¶
type GetPayChBalanceResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type GetPayChBalanceResp_MsgSuccess ¶
type GetPayChBalanceResp_MsgSuccess struct {
CurrentBalance *BalanceInfo `protobuf:"bytes,1,opt,name=currentBalance,proto3" json:"currentBalance,omitempty"`
CurrentVersion string `protobuf:"bytes,2,opt,name=currentVersion,proto3" json:"currentVersion,omitempty"`
// contains filtered or unexported fields
}
func (*GetPayChBalanceResp_MsgSuccess) Descriptor
deprecated
func (*GetPayChBalanceResp_MsgSuccess) Descriptor() ([]byte, []int)
Deprecated: Use GetPayChBalanceResp_MsgSuccess.ProtoReflect.Descriptor instead.
func (*GetPayChBalanceResp_MsgSuccess) GetCurrentBalance ¶
func (x *GetPayChBalanceResp_MsgSuccess) GetCurrentBalance() *BalanceInfo
func (*GetPayChBalanceResp_MsgSuccess) GetCurrentVersion ¶
func (x *GetPayChBalanceResp_MsgSuccess) GetCurrentVersion() string
func (*GetPayChBalanceResp_MsgSuccess) ProtoMessage ¶
func (*GetPayChBalanceResp_MsgSuccess) ProtoMessage()
func (*GetPayChBalanceResp_MsgSuccess) ProtoReflect ¶
func (x *GetPayChBalanceResp_MsgSuccess) ProtoReflect() protoreflect.Message
func (*GetPayChBalanceResp_MsgSuccess) Reset ¶
func (x *GetPayChBalanceResp_MsgSuccess) Reset()
func (*GetPayChBalanceResp_MsgSuccess) String ¶
func (x *GetPayChBalanceResp_MsgSuccess) String() string
type GetPayChBalanceResp_MsgSuccess_ ¶
type GetPayChBalanceResp_MsgSuccess_ struct {
MsgSuccess *GetPayChBalanceResp_MsgSuccess `protobuf:"bytes,1,opt,name=msgSuccess,proto3,oneof"`
}
type GetPayChsReq ¶
type GetPayChsReq struct {
SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
// contains filtered or unexported fields
}
func (*GetPayChsReq) Descriptor
deprecated
func (*GetPayChsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetPayChsReq.ProtoReflect.Descriptor instead.
func (*GetPayChsReq) GetSessionID ¶
func (x *GetPayChsReq) GetSessionID() string
func (*GetPayChsReq) ProtoMessage ¶
func (*GetPayChsReq) ProtoMessage()
func (*GetPayChsReq) ProtoReflect ¶
func (x *GetPayChsReq) ProtoReflect() protoreflect.Message
func (*GetPayChsReq) Reset ¶
func (x *GetPayChsReq) Reset()
func (*GetPayChsReq) String ¶
func (x *GetPayChsReq) String() string
type GetPayChsResp ¶
type GetPayChsResp struct {
// Types that are assignable to Response:
// *GetPayChsResp_MsgSuccess_
// *GetPayChsResp_Error
Response isGetPayChsResp_Response `protobuf_oneof:"response"`
// contains filtered or unexported fields
}
func (*GetPayChsResp) Descriptor
deprecated
func (*GetPayChsResp) Descriptor() ([]byte, []int)
Deprecated: Use GetPayChsResp.ProtoReflect.Descriptor instead.
func (*GetPayChsResp) GetError ¶
func (x *GetPayChsResp) GetError() *MsgError
func (*GetPayChsResp) GetMsgSuccess ¶
func (x *GetPayChsResp) GetMsgSuccess() *GetPayChsResp_MsgSuccess
func (*GetPayChsResp) GetResponse ¶
func (m *GetPayChsResp) GetResponse() isGetPayChsResp_Response
func (*GetPayChsResp) ProtoMessage ¶
func (*GetPayChsResp) ProtoMessage()
func (*GetPayChsResp) ProtoReflect ¶
func (x *GetPayChsResp) ProtoReflect() protoreflect.Message
func (*GetPayChsResp) Reset ¶
func (x *GetPayChsResp) Reset()
func (*GetPayChsResp) String ¶
func (x *GetPayChsResp) String() string
type GetPayChsResp_Error ¶
type GetPayChsResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type GetPayChsResp_MsgSuccess ¶
type GetPayChsResp_MsgSuccess struct {
OpenChannels []*PaymentChannel `protobuf:"bytes,1,rep,name=openChannels,proto3" json:"openChannels,omitempty"`
// contains filtered or unexported fields
}
func (*GetPayChsResp_MsgSuccess) Descriptor
deprecated
func (*GetPayChsResp_MsgSuccess) Descriptor() ([]byte, []int)
Deprecated: Use GetPayChsResp_MsgSuccess.ProtoReflect.Descriptor instead.
func (*GetPayChsResp_MsgSuccess) GetOpenChannels ¶
func (x *GetPayChsResp_MsgSuccess) GetOpenChannels() []*PaymentChannel
func (*GetPayChsResp_MsgSuccess) ProtoMessage ¶
func (*GetPayChsResp_MsgSuccess) ProtoMessage()
func (*GetPayChsResp_MsgSuccess) ProtoReflect ¶
func (x *GetPayChsResp_MsgSuccess) ProtoReflect() protoreflect.Message
func (*GetPayChsResp_MsgSuccess) Reset ¶
func (x *GetPayChsResp_MsgSuccess) Reset()
func (*GetPayChsResp_MsgSuccess) String ¶
func (x *GetPayChsResp_MsgSuccess) String() string
type GetPayChsResp_MsgSuccess_ ¶
type GetPayChsResp_MsgSuccess_ struct {
MsgSuccess *GetPayChsResp_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"`
PeerAlias string `protobuf:"bytes,2,opt,name=peerAlias,proto3" json:"peerAlias,omitempty"`
OpeningBalance *BalanceInfo `protobuf:"bytes,3,opt,name=openingBalance,proto3" json:"openingBalance,omitempty"`
ChallengeDurSecs uint64 `protobuf:"varint,4,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) GetOpeningBalance ¶
func (x *OpenPayChReq) GetOpeningBalance() *BalanceInfo
func (*OpenPayChReq) GetPeerAlias ¶
func (x *OpenPayChReq) GetPeerAlias() string
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 {
Channel *PaymentChannel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,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) GetChannel ¶
func (x *OpenPayChResp_MsgSuccess) GetChannel() *PaymentChannel
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"`
// 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) 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 PaymentChannel ¶
type PaymentChannel struct {
ChannelID string `protobuf:"bytes,1,opt,name=channelID,proto3" json:"channelID,omitempty"`
Balanceinfo *BalanceInfo `protobuf:"bytes,2,opt,name=balanceinfo,proto3" json:"balanceinfo,omitempty"`
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
func (*PaymentChannel) Descriptor
deprecated
func (*PaymentChannel) Descriptor() ([]byte, []int)
Deprecated: Use PaymentChannel.ProtoReflect.Descriptor instead.
func (*PaymentChannel) GetBalanceinfo ¶
func (x *PaymentChannel) GetBalanceinfo() *BalanceInfo
func (*PaymentChannel) GetChannelID ¶
func (x *PaymentChannel) GetChannelID() string
func (*PaymentChannel) GetVersion ¶
func (x *PaymentChannel) GetVersion() string
func (*PaymentChannel) ProtoMessage ¶
func (*PaymentChannel) ProtoMessage()
func (*PaymentChannel) ProtoReflect ¶
func (x *PaymentChannel) ProtoReflect() protoreflect.Message
func (*PaymentChannel) Reset ¶
func (x *PaymentChannel) Reset()
func (*PaymentChannel) String ¶
func (x *PaymentChannel) String() string
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)
GetPayChs(ctx context.Context, in *GetPayChsReq, opts ...grpc.CallOption) (*GetPayChsResp, 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)
SubPayChCloses(ctx context.Context, in *SubPayChClosesReq, opts ...grpc.CallOption) (Payment_API_SubPayChClosesClient, error)
UnsubPayChClose(ctx context.Context, in *UnsubPayChClosesReq, opts ...grpc.CallOption) (*UnsubPayChClosesResp, 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)
GetPayChBalance(ctx context.Context, in *GetPayChBalanceReq, opts ...grpc.CallOption) (*GetPayChBalanceResp, 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)
GetPayChs(context.Context, *GetPayChsReq) (*GetPayChsResp, error)
SubPayChProposals(*SubPayChProposalsReq, Payment_API_SubPayChProposalsServer) error
UnsubPayChProposals(context.Context, *UnsubPayChProposalsReq) (*UnsubPayChProposalsResp, error)
RespondPayChProposal(context.Context, *RespondPayChProposalReq) (*RespondPayChProposalResp, error)
SubPayChCloses(*SubPayChClosesReq, Payment_API_SubPayChClosesServer) error
UnsubPayChClose(context.Context, *UnsubPayChClosesReq) (*UnsubPayChClosesResp, 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)
GetPayChBalance(context.Context, *GetPayChBalanceReq) (*GetPayChBalanceResp, error)
ClosePayCh(context.Context, *ClosePayChReq) (*ClosePayChResp, error)
}
Payment_APIServer is the server API for Payment_API service.
type Payment_API_SubPayChClosesClient ¶
type Payment_API_SubPayChClosesClient interface {
Recv() (*SubPayChClosesResp, error)
grpc.ClientStream
}
type Payment_API_SubPayChClosesServer ¶
type Payment_API_SubPayChClosesServer interface {
Send(*SubPayChClosesResp) error
grpc.ServerStream
}
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 {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Channel *PaymentChannel `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,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) GetChannel ¶
func (x *RespondPayChProposalResp_MsgSuccess) GetChannel() *PaymentChannel
func (*RespondPayChProposalResp_MsgSuccess) GetSuccess ¶
func (x *RespondPayChProposalResp_MsgSuccess) GetSuccess() bool
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"`
ChannelID string `protobuf:"bytes,2,opt,name=channelID,proto3" json:"channelID,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) GetChannelID ¶
func (x *RespondPayChUpdateReq) GetChannelID() 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 {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,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) GetSuccess ¶
func (x *RespondPayChUpdateResp_MsgSuccess) GetSuccess() bool
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"`
ChannelID string `protobuf:"bytes,2,opt,name=channelID,proto3" json:"channelID,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) GetChannelID ¶
func (x *SendPayChUpdateReq) GetChannelID() 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 {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,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) GetSuccess ¶
func (x *SendPayChUpdateResp_MsgSuccess) GetSuccess() bool
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 SubPayChClosesReq ¶
type SubPayChClosesReq struct {
SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
// contains filtered or unexported fields
}
func (*SubPayChClosesReq) Descriptor
deprecated
func (*SubPayChClosesReq) Descriptor() ([]byte, []int)
Deprecated: Use SubPayChClosesReq.ProtoReflect.Descriptor instead.
func (*SubPayChClosesReq) GetSessionID ¶
func (x *SubPayChClosesReq) GetSessionID() string
func (*SubPayChClosesReq) ProtoMessage ¶
func (*SubPayChClosesReq) ProtoMessage()
func (*SubPayChClosesReq) ProtoReflect ¶
func (x *SubPayChClosesReq) ProtoReflect() protoreflect.Message
func (*SubPayChClosesReq) Reset ¶
func (x *SubPayChClosesReq) Reset()
func (*SubPayChClosesReq) String ¶
func (x *SubPayChClosesReq) String() string
type SubPayChClosesResp ¶
type SubPayChClosesResp struct {
// Types that are assignable to Response:
// *SubPayChClosesResp_Notify_
// *SubPayChClosesResp_Error
Response isSubPayChClosesResp_Response `protobuf_oneof:"response"`
// contains filtered or unexported fields
}
func (*SubPayChClosesResp) Descriptor
deprecated
func (*SubPayChClosesResp) Descriptor() ([]byte, []int)
Deprecated: Use SubPayChClosesResp.ProtoReflect.Descriptor instead.
func (*SubPayChClosesResp) GetError ¶
func (x *SubPayChClosesResp) GetError() *MsgError
func (*SubPayChClosesResp) GetNotify ¶
func (x *SubPayChClosesResp) GetNotify() *SubPayChClosesResp_Notify
func (*SubPayChClosesResp) GetResponse ¶
func (m *SubPayChClosesResp) GetResponse() isSubPayChClosesResp_Response
func (*SubPayChClosesResp) ProtoMessage ¶
func (*SubPayChClosesResp) ProtoMessage()
func (*SubPayChClosesResp) ProtoReflect ¶
func (x *SubPayChClosesResp) ProtoReflect() protoreflect.Message
func (*SubPayChClosesResp) Reset ¶
func (x *SubPayChClosesResp) Reset()
func (*SubPayChClosesResp) String ¶
func (x *SubPayChClosesResp) String() string
type SubPayChClosesResp_Error ¶
type SubPayChClosesResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type SubPayChClosesResp_Notify ¶
type SubPayChClosesResp_Notify struct {
ClosingState *PaymentChannel `protobuf:"bytes,1,opt,name=closingState,proto3" json:"closingState,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*SubPayChClosesResp_Notify) Descriptor
deprecated
func (*SubPayChClosesResp_Notify) Descriptor() ([]byte, []int)
Deprecated: Use SubPayChClosesResp_Notify.ProtoReflect.Descriptor instead.
func (*SubPayChClosesResp_Notify) GetClosingState ¶
func (x *SubPayChClosesResp_Notify) GetClosingState() *PaymentChannel
func (*SubPayChClosesResp_Notify) GetError ¶
func (x *SubPayChClosesResp_Notify) GetError() string
func (*SubPayChClosesResp_Notify) ProtoMessage ¶
func (*SubPayChClosesResp_Notify) ProtoMessage()
func (*SubPayChClosesResp_Notify) ProtoReflect ¶
func (x *SubPayChClosesResp_Notify) ProtoReflect() protoreflect.Message
func (*SubPayChClosesResp_Notify) Reset ¶
func (x *SubPayChClosesResp_Notify) Reset()
func (*SubPayChClosesResp_Notify) String ¶
func (x *SubPayChClosesResp_Notify) String() string
type SubPayChClosesResp_Notify_ ¶
type SubPayChClosesResp_Notify_ struct {
Notify *SubPayChClosesResp_Notify `protobuf:"bytes,1,opt,name=notify,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"`
OpeningBalance *BalanceInfo `protobuf:"bytes,4,opt,name=openingBalance,proto3" json:"openingBalance,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) GetOpeningBalance ¶
func (x *SubPayChProposalsResp_Notify) GetOpeningBalance() *BalanceInfo
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 {
ProposedBalance *BalanceInfo `protobuf:"bytes,1,opt,name=proposedBalance,proto3" json:"proposedBalance,omitempty"`
UpdateID string `protobuf:"bytes,2,opt,name=updateID,proto3" json:"updateID,omitempty"`
Final bool `protobuf:"varint,3,opt,name=final,proto3" json:"final,omitempty"`
Expiry int64 `protobuf:"varint,4,opt,name=expiry,proto3" json:"expiry,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) GetExpiry ¶
func (x *SubPayChUpdatesResp_Notify) GetExpiry() int64
func (*SubPayChUpdatesResp_Notify) GetFinal ¶
func (x *SubPayChUpdatesResp_Notify) GetFinal() bool
func (*SubPayChUpdatesResp_Notify) GetProposedBalance ¶
func (x *SubPayChUpdatesResp_Notify) GetProposedBalance() *BalanceInfo
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 SubpayChUpdatesReq ¶
type SubpayChUpdatesReq struct {
SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
ChannelID string `protobuf:"bytes,2,opt,name=channelID,proto3" json:"channelID,omitempty"`
// contains filtered or unexported fields
}
func (*SubpayChUpdatesReq) Descriptor
deprecated
func (*SubpayChUpdatesReq) Descriptor() ([]byte, []int)
Deprecated: Use SubpayChUpdatesReq.ProtoReflect.Descriptor instead.
func (*SubpayChUpdatesReq) GetChannelID ¶
func (x *SubpayChUpdatesReq) GetChannelID() 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) GetPayChBalance ¶
func (*UnimplementedPayment_APIServer) GetPayChBalance(context.Context, *GetPayChBalanceReq) (*GetPayChBalanceResp, error)
func (*UnimplementedPayment_APIServer) GetPayChs ¶
func (*UnimplementedPayment_APIServer) GetPayChs(context.Context, *GetPayChsReq) (*GetPayChsResp, 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) SubPayChCloses ¶
func (*UnimplementedPayment_APIServer) SubPayChCloses(*SubPayChClosesReq, Payment_API_SubPayChClosesServer) 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) UnsubPayChClose ¶
func (*UnimplementedPayment_APIServer) UnsubPayChClose(context.Context, *UnsubPayChClosesReq) (*UnsubPayChClosesResp, 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 UnsubPayChClosesReq ¶
type UnsubPayChClosesReq struct {
SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
// contains filtered or unexported fields
}
func (*UnsubPayChClosesReq) Descriptor
deprecated
func (*UnsubPayChClosesReq) Descriptor() ([]byte, []int)
Deprecated: Use UnsubPayChClosesReq.ProtoReflect.Descriptor instead.
func (*UnsubPayChClosesReq) GetSessionID ¶
func (x *UnsubPayChClosesReq) GetSessionID() string
func (*UnsubPayChClosesReq) ProtoMessage ¶
func (*UnsubPayChClosesReq) ProtoMessage()
func (*UnsubPayChClosesReq) ProtoReflect ¶
func (x *UnsubPayChClosesReq) ProtoReflect() protoreflect.Message
func (*UnsubPayChClosesReq) Reset ¶
func (x *UnsubPayChClosesReq) Reset()
func (*UnsubPayChClosesReq) String ¶
func (x *UnsubPayChClosesReq) String() string
type UnsubPayChClosesResp ¶
type UnsubPayChClosesResp struct {
// Types that are assignable to Response:
// *UnsubPayChClosesResp_MsgSuccess_
// *UnsubPayChClosesResp_Error
Response isUnsubPayChClosesResp_Response `protobuf_oneof:"response"`
// contains filtered or unexported fields
}
func (*UnsubPayChClosesResp) Descriptor
deprecated
func (*UnsubPayChClosesResp) Descriptor() ([]byte, []int)
Deprecated: Use UnsubPayChClosesResp.ProtoReflect.Descriptor instead.
func (*UnsubPayChClosesResp) GetError ¶
func (x *UnsubPayChClosesResp) GetError() *MsgError
func (*UnsubPayChClosesResp) GetMsgSuccess ¶
func (x *UnsubPayChClosesResp) GetMsgSuccess() *UnsubPayChClosesResp_MsgSuccess
func (*UnsubPayChClosesResp) GetResponse ¶
func (m *UnsubPayChClosesResp) GetResponse() isUnsubPayChClosesResp_Response
func (*UnsubPayChClosesResp) ProtoMessage ¶
func (*UnsubPayChClosesResp) ProtoMessage()
func (*UnsubPayChClosesResp) ProtoReflect ¶
func (x *UnsubPayChClosesResp) ProtoReflect() protoreflect.Message
func (*UnsubPayChClosesResp) Reset ¶
func (x *UnsubPayChClosesResp) Reset()
func (*UnsubPayChClosesResp) String ¶
func (x *UnsubPayChClosesResp) String() string
type UnsubPayChClosesResp_Error ¶
type UnsubPayChClosesResp_Error struct {
Error *MsgError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type UnsubPayChClosesResp_MsgSuccess ¶
type UnsubPayChClosesResp_MsgSuccess struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// contains filtered or unexported fields
}
func (*UnsubPayChClosesResp_MsgSuccess) Descriptor
deprecated
func (*UnsubPayChClosesResp_MsgSuccess) Descriptor() ([]byte, []int)
Deprecated: Use UnsubPayChClosesResp_MsgSuccess.ProtoReflect.Descriptor instead.
func (*UnsubPayChClosesResp_MsgSuccess) GetSuccess ¶
func (x *UnsubPayChClosesResp_MsgSuccess) GetSuccess() bool
func (*UnsubPayChClosesResp_MsgSuccess) ProtoMessage ¶
func (*UnsubPayChClosesResp_MsgSuccess) ProtoMessage()
func (*UnsubPayChClosesResp_MsgSuccess) ProtoReflect ¶
func (x *UnsubPayChClosesResp_MsgSuccess) ProtoReflect() protoreflect.Message
func (*UnsubPayChClosesResp_MsgSuccess) Reset ¶
func (x *UnsubPayChClosesResp_MsgSuccess) Reset()
func (*UnsubPayChClosesResp_MsgSuccess) String ¶
func (x *UnsubPayChClosesResp_MsgSuccess) String() string
type UnsubPayChClosesResp_MsgSuccess_ ¶
type UnsubPayChClosesResp_MsgSuccess_ struct {
MsgSuccess *UnsubPayChClosesResp_MsgSuccess `protobuf:"bytes,1,opt,name=msgSuccess,proto3,oneof"`
}
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"`
ChannelID string `protobuf:"bytes,2,opt,name=channelID,proto3" json:"channelID,omitempty"`
// contains filtered or unexported fields
}
func (*UnsubPayChUpdatesReq) Descriptor
deprecated
func (*UnsubPayChUpdatesReq) Descriptor() ([]byte, []int)
Deprecated: Use UnsubPayChUpdatesReq.ProtoReflect.Descriptor instead.
func (*UnsubPayChUpdatesReq) GetChannelID ¶
func (x *UnsubPayChUpdatesReq) GetChannelID() 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"`
}