Documentation
¶
Index ¶
- func NewCallbackImpl() *callbackImpl
- func PayStatusName(status int) string
- type ApiServer
- func (s *ApiServer) ApplyActionForAppSession(context context.Context, request *rpc.ApplyActionForAppSessionRequest) (*empty.Empty, error)
- func (s *ApiServer) ConfirmOnChainResolvedPayments(context context.Context, request *rpc.TokenInfo) (*empty.Empty, error)
- func (s *ApiServer) ConfirmOutgoingPayment(context context.Context, request *rpc.PaymentID) (*empty.Empty, error)
- func (s *ApiServer) ConfirmSettlePaymentChannel(context context.Context, request *rpc.TokenInfo) (*empty.Empty, error)
- func (s *ApiServer) ConfirmWithdraw(context context.Context, in *rpc.TokenInfo) (*empty.Empty, error)
- func (s *ApiServer) CooperativeWithdraw(context context.Context, request *rpc.DepositOrWithdrawRequest) (*rpc.DepositOrWithdrawJob, error)
- func (s *ApiServer) CooperativeWithdrawNonBlocking(context context.Context, request *rpc.DepositOrWithdrawRequest) (*rpc.DepositOrWithdrawJob, error)
- func (s *ApiServer) CreateAppSessionOnDeployedContract(context context.Context, ...) (*rpc.SessionID, error)
- func (s *ApiServer) CreateAppSessionOnVirtualContract(context context.Context, request *rpc.CreateAppSessionOnVirtualContractRequest) (*rpc.SessionID, error)
- func (s *ApiServer) DeleteAppSession(context context.Context, request *rpc.SessionID) (*empty.Empty, error)
- func (s *ApiServer) Deposit(context context.Context, request *rpc.DepositOrWithdrawRequest) (*rpc.DepositOrWithdrawJob, error)
- func (s *ApiServer) DepositNonBlocking(context context.Context, request *rpc.DepositOrWithdrawRequest) (*rpc.DepositOrWithdrawJob, error)
- func (s *ApiServer) FinalizeOnActionTimeoutForAppSession(context context.Context, request *rpc.SessionID) (*empty.Empty, error)
- func (s *ApiServer) GetActionDeadlineForAppSession(context context.Context, request *rpc.SessionID) (*rpc.BlockNumber, error)
- func (s *ApiServer) GetBalance(context context.Context, request *rpc.TokenInfo) (*rpc.GetBalanceResponse, error)
- func (s *ApiServer) GetBlockNumber(context context.Context, request *empty.Empty) (*rpc.BlockNumber, error)
- func (s *ApiServer) GetBooleanOutcomeForAppSession(context context.Context, request *rpc.GetBooleanOutcomeForAppSessionRequest) (*rpc.BooleanOutcome, error)
- func (s *ApiServer) GetDeployedAddressForAppSession(context context.Context, request *rpc.SessionID) (*rpc.Address, error)
- func (s *ApiServer) GetIncomingPaymentInfo(context context.Context, request *rpc.PaymentID) (*rpc.PaymentInfo, error)
- func (s *ApiServer) GetIncomingPaymentStatus(context context.Context, request *rpc.PaymentID) (*rpc.PaymentStatus, error)
- func (s *ApiServer) GetOnChainPaymentInfo(context context.Context, request *rpc.PaymentID) (*rpc.OnChainPaymentInfo, error)
- func (s *ApiServer) GetOutgoingPaymentStatus(context context.Context, request *rpc.PaymentID) (*rpc.PaymentStatus, error)
- func (s *ApiServer) GetPayHistory(context context.Context, request *rpc.GetPayHistoryRequest) (*rpc.GetPayHistoryResponse, error)
- func (s *ApiServer) GetPeerFreeBalance(context context.Context, request *rpc.GetPeerFreeBalanceRequest) (*rpc.FreeBalance, error)
- func (s *ApiServer) GetSeqNumForAppSession(context context.Context, request *rpc.SessionID) (*rpc.AppSessionSeqNum, error)
- func (s *ApiServer) GetSettleFinalizedTimeForAppSession(context context.Context, request *rpc.SessionID) (*rpc.BlockNumber, error)
- func (s *ApiServer) GetSettleFinalizedTimeForPaymentChannel(context context.Context, request *rpc.TokenInfo) (*rpc.BlockNumber, error)
- func (s *ApiServer) GetStateForAppSession(context context.Context, request *rpc.GetStateForAppSessionRequest) (*rpc.AppSessionState, error)
- func (s *ApiServer) GetStatusForAppSession(context context.Context, request *rpc.SessionID) (*rpc.AppSessionStatus, error)
- func (s *ApiServer) IntendSettlePaymentChannel(context context.Context, request *rpc.TokenInfo) (*empty.Empty, error)
- func (s *ApiServer) IntendWithdraw(context context.Context, in *rpc.DepositOrWithdrawRequest) (*empty.Empty, error)
- func (s *ApiServer) MonitorCooperativeWithdrawJob(context context.Context, request *rpc.DepositOrWithdrawJob) (*rpc.DepositOrWithdrawJob, error)
- func (s *ApiServer) MonitorDepositJob(context context.Context, request *rpc.DepositOrWithdrawJob) (*rpc.DepositOrWithdrawJob, error)
- func (s *ApiServer) OpenPaymentChannel(context context.Context, request *rpc.OpenPaymentChannelRequest) (*rpc.ChannelID, error)
- func (s *ApiServer) ProcessReceivedState(context context.Context, request *rpc.ProcessReceivedStateRequest) (*rpc.ProcessReceivedStateResponse, error)
- func (s *ApiServer) RejectIncomingPayment(context context.Context, request *rpc.PaymentID) (*empty.Empty, error)
- func (s *ApiServer) ResolveIncomingPaymentOnChain(context context.Context, request *rpc.PaymentID) (*empty.Empty, error)
- func (s *ApiServer) SendConditionalPayment(context context.Context, request *rpc.SendConditionalPaymentRequest) (*rpc.PaymentID, error)
- func (s *ApiServer) SendToken(context context.Context, request *rpc.SendTokenRequest) (*rpc.PaymentID, error)
- func (s *ApiServer) SetDelegation(context context.Context, request *rpc.SetDelegationRequest) (*empty.Empty, error)
- func (s *ApiServer) SetMsgDropper(context context.Context, req *rpc.SetMsgDropReq) (*empty.Empty, error)
- func (s *ApiServer) SettleAppSession(context context.Context, request *rpc.SettleAppSessionRequest) (*empty.Empty, error)
- func (s *ApiServer) SettleAppSessionByInvalidState(context context.Context, request *rpc.SettleAppSessionByInvalidityRequest) (*empty.Empty, error)
- func (s *ApiServer) SettleAppSessionByInvalidTurn(context context.Context, request *rpc.SettleAppSessionByInvalidityRequest) (*empty.Empty, error)
- func (s *ApiServer) SettleAppSessionByMoveTimeout(context context.Context, request *rpc.SettleAppSessionByTimeoutRequest) (*empty.Empty, error)
- func (s *ApiServer) SettleAppSessionBySigTimeout(context context.Context, request *rpc.SettleAppSessionByTimeoutRequest) (*empty.Empty, error)
- func (s *ApiServer) SettleExpiredPayments(context context.Context, request *rpc.TokenInfo) (*empty.Empty, error)
- func (s *ApiServer) SettleOnChainResolvedIncomingPayment(context context.Context, request *rpc.PaymentID) (*empty.Empty, error)
- func (s *ApiServer) SignData(context context.Context, request *rpc.Data) (*rpc.Signature, error)
- func (s *ApiServer) SignOutgoingState(context context.Context, request *rpc.SignOutgoingStateRequest) (*rpc.SignedState, error)
- func (s *ApiServer) Start()
- func (s *ApiServer) SubscribeAppSessionDispute(request *rpc.SessionID, stream rpc.WebApi_SubscribeAppSessionDisputeServer) error
- func (s *ApiServer) SubscribeIncomingPayments(empty *empty.Empty, stream rpc.WebApi_SubscribeIncomingPaymentsServer) error
- func (s *ApiServer) SubscribeOutgoingPayments(empty *empty.Empty, stream rpc.WebApi_SubscribeOutgoingPaymentsServer) error
- func (s *ApiServer) SyncOnChainPaymentChannelStatus(context context.Context, request *rpc.TokenInfo) (*empty.Empty, error)
- func (s *ApiServer) SyncStateWithPeer(context context.Context, request *empty.Empty) (*empty.Empty, error)
- func (s *ApiServer) ValidateAck(context context.Context, request *rpc.ValidateAckRequest) (*rpc.BoolValue, error)
- type InternalApiServer
- func (s *InternalApiServer) CooperativeWithdrawNonBlocking(context context.Context, request *rpc.DepositOrWithdrawRequest) (*rpc.DepositOrWithdrawJob, error)
- func (s *InternalApiServer) DepositNonBlocking(context context.Context, request *rpc.DepositOrWithdrawRequest) (*rpc.DepositOrWithdrawJob, error)
- func (s *InternalApiServer) InstantiateTrustedPaymentChannel(context context.Context, request *rpc.TokenInfo) (*rpc.ChannelID, error)
- func (s *InternalApiServer) OpenTrustedPaymentChannel(context context.Context, request *rpc.OpenPaymentChannelRequest) (*rpc.ChannelID, error)
- func (s *InternalApiServer) Start()
- type OspPayApiServer
- func (s *OspPayApiServer) ConfirmOutgoingPayment(context context.Context, request *rpc.PaymentID) (*emptypb.Empty, error)
- func (s *OspPayApiServer) CreateAppSessionOnVirtualContract(context context.Context, request *rpc.CreateAppSessionOnVirtualContractRequest) (*rpc.SessionID, error)
- func (s *OspPayApiServer) DeleteAppSession(context context.Context, request *rpc.SessionID) (*emptypb.Empty, error)
- func (s *OspPayApiServer) GetBalance(context.Context, *rpc.TokenInfo) (*rpc.GetBalanceResponse, error)
- func (s *OspPayApiServer) GetIncomingPaymentInfo(context context.Context, request *rpc.PaymentID) (*rpc.PaymentInfo, error)
- func (s *OspPayApiServer) GetIncomingPaymentStatus(context context.Context, request *rpc.PaymentID) (*rpc.PaymentStatus, error)
- func (s *OspPayApiServer) GetOutgoingPaymentStatus(context context.Context, request *rpc.PaymentID) (*rpc.PaymentStatus, error)
- func (s *OspPayApiServer) GetPeerFreeBalance(context.Context, *rpc.GetPeerFreeBalanceRequest) (*rpc.FreeBalance, error)
- func (s *OspPayApiServer) GetStatusForAppSession(context context.Context, request *rpc.SessionID) (*rpc.AppSessionStatus, error)
- func (s *OspPayApiServer) RejectIncomingPayment(context context.Context, request *rpc.PaymentID) (*emptypb.Empty, error)
- func (s *OspPayApiServer) SendConditionalPayment(context context.Context, request *rpc.SendConditionalPaymentRequest) (*rpc.PaymentID, error)
- func (s *OspPayApiServer) SendToken(context context.Context, request *rpc.SendTokenRequest) (*rpc.PaymentID, error)
- func (s *OspPayApiServer) SubscribeIncomingPayments(_ *emptypb.Empty, stream rpc.WebApi_SubscribeIncomingPaymentsServer) error
- func (s *OspPayApiServer) SubscribeOutgoingPayments(_ *emptypb.Empty, stream rpc.WebApi_SubscribeOutgoingPaymentsServer) error
- type OspPayBackend
- type PaymentEventFeed
- func (f *PaymentEventFeed) HandleDestinationUnreachable(payID ctype.PayIDType, pay *entity.ConditionalPay, note *anypb.Any)
- func (f *PaymentEventFeed) HandleReceivingDone(payID ctype.PayIDType, pay *entity.ConditionalPay, note *anypb.Any, ...)
- func (f *PaymentEventFeed) HandleReceivingStart(payID ctype.PayIDType, pay *entity.ConditionalPay, note *anypb.Any)
- func (f *PaymentEventFeed) HandleSendComplete(payID ctype.PayIDType, pay *entity.ConditionalPay, note *anypb.Any, ...)
- func (f *PaymentEventFeed) HandleSendFail(payID ctype.PayIDType, pay *entity.ConditionalPay, note *anypb.Any, ...)
- func (f *PaymentEventFeed) SubscribeIncoming() (<-chan *celersdkintf.Payment, func(), error)
- func (f *PaymentEventFeed) SubscribeOutgoing() (<-chan *outgoingPaymentEvent, func(), error)
- type PaymentRecord
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCallbackImpl ¶
func NewCallbackImpl() *callbackImpl
func PayStatusName ¶
Types ¶
type ApiServer ¶
type ApiServer struct {
// contains filtered or unexported fields
}
func NewApiServer ¶
func (*ApiServer) ApplyActionForAppSession ¶
func (*ApiServer) ConfirmOnChainResolvedPayments ¶
func (*ApiServer) ConfirmOutgoingPayment ¶
func (*ApiServer) ConfirmSettlePaymentChannel ¶
func (*ApiServer) ConfirmWithdraw ¶
func (*ApiServer) CooperativeWithdraw ¶
func (s *ApiServer) CooperativeWithdraw( context context.Context, request *rpc.DepositOrWithdrawRequest) (*rpc.DepositOrWithdrawJob, error)
func (*ApiServer) CooperativeWithdrawNonBlocking ¶ added in v1.1.0
func (s *ApiServer) CooperativeWithdrawNonBlocking( context context.Context, request *rpc.DepositOrWithdrawRequest) (*rpc.DepositOrWithdrawJob, error)
func (*ApiServer) CreateAppSessionOnDeployedContract ¶
func (*ApiServer) CreateAppSessionOnVirtualContract ¶
func (*ApiServer) DeleteAppSession ¶
func (*ApiServer) Deposit ¶
func (s *ApiServer) Deposit( context context.Context, request *rpc.DepositOrWithdrawRequest) (*rpc.DepositOrWithdrawJob, error)
func (*ApiServer) DepositNonBlocking ¶ added in v1.1.0
func (s *ApiServer) DepositNonBlocking( context context.Context, request *rpc.DepositOrWithdrawRequest) (*rpc.DepositOrWithdrawJob, error)
func (*ApiServer) FinalizeOnActionTimeoutForAppSession ¶
func (*ApiServer) GetActionDeadlineForAppSession ¶
func (*ApiServer) GetBalance ¶
func (*ApiServer) GetBlockNumber ¶
func (*ApiServer) GetBooleanOutcomeForAppSession ¶
func (s *ApiServer) GetBooleanOutcomeForAppSession( context context.Context, request *rpc.GetBooleanOutcomeForAppSessionRequest) (*rpc.BooleanOutcome, error)
func (*ApiServer) GetDeployedAddressForAppSession ¶
func (*ApiServer) GetIncomingPaymentInfo ¶ added in v1.1.0
func (*ApiServer) GetIncomingPaymentStatus ¶
func (*ApiServer) GetOnChainPaymentInfo ¶
func (*ApiServer) GetOutgoingPaymentStatus ¶
func (*ApiServer) GetPayHistory ¶
func (s *ApiServer) GetPayHistory( context context.Context, request *rpc.GetPayHistoryRequest) (*rpc.GetPayHistoryResponse, error)
GetPayHistory returns paginated pay history. This method is **NOT IDEMPOTENT**.
func (*ApiServer) GetPeerFreeBalance ¶
func (s *ApiServer) GetPeerFreeBalance( context context.Context, request *rpc.GetPeerFreeBalanceRequest) (*rpc.FreeBalance, error)
func (*ApiServer) GetSeqNumForAppSession ¶
func (*ApiServer) GetSettleFinalizedTimeForAppSession ¶
func (*ApiServer) GetSettleFinalizedTimeForPaymentChannel ¶
func (*ApiServer) GetStateForAppSession ¶
func (s *ApiServer) GetStateForAppSession( context context.Context, request *rpc.GetStateForAppSessionRequest) (*rpc.AppSessionState, error)
func (*ApiServer) GetStatusForAppSession ¶
func (*ApiServer) IntendSettlePaymentChannel ¶
func (*ApiServer) IntendWithdraw ¶
func (*ApiServer) MonitorCooperativeWithdrawJob ¶
func (s *ApiServer) MonitorCooperativeWithdrawJob( context context.Context, request *rpc.DepositOrWithdrawJob) (*rpc.DepositOrWithdrawJob, error)
func (*ApiServer) MonitorDepositJob ¶
func (s *ApiServer) MonitorDepositJob( context context.Context, request *rpc.DepositOrWithdrawJob) (*rpc.DepositOrWithdrawJob, error)
func (*ApiServer) OpenPaymentChannel ¶
func (*ApiServer) ProcessReceivedState ¶
func (s *ApiServer) ProcessReceivedState( context context.Context, request *rpc.ProcessReceivedStateRequest) (*rpc.ProcessReceivedStateResponse, error)
func (*ApiServer) RejectIncomingPayment ¶
func (*ApiServer) ResolveIncomingPaymentOnChain ¶
func (*ApiServer) SendConditionalPayment ¶
func (*ApiServer) SetDelegation ¶
func (*ApiServer) SetMsgDropper ¶
func (*ApiServer) SettleAppSession ¶
func (*ApiServer) SettleAppSessionByInvalidState ¶
func (*ApiServer) SettleAppSessionByInvalidTurn ¶
func (*ApiServer) SettleAppSessionByMoveTimeout ¶
func (*ApiServer) SettleAppSessionBySigTimeout ¶
func (*ApiServer) SettleExpiredPayments ¶
func (*ApiServer) SettleOnChainResolvedIncomingPayment ¶
func (*ApiServer) SignOutgoingState ¶
func (s *ApiServer) SignOutgoingState( context context.Context, request *rpc.SignOutgoingStateRequest) (*rpc.SignedState, error)
func (*ApiServer) SubscribeAppSessionDispute ¶
func (*ApiServer) SubscribeIncomingPayments ¶
func (*ApiServer) SubscribeOutgoingPayments ¶
func (*ApiServer) SyncOnChainPaymentChannelStatus ¶
func (*ApiServer) SyncStateWithPeer ¶
func (*ApiServer) ValidateAck ¶
type InternalApiServer ¶
type InternalApiServer struct {
*ApiServer
}
func NewInternalApiServer ¶
func (*InternalApiServer) CooperativeWithdrawNonBlocking ¶
func (s *InternalApiServer) CooperativeWithdrawNonBlocking( context context.Context, request *rpc.DepositOrWithdrawRequest) (*rpc.DepositOrWithdrawJob, error)
func (*InternalApiServer) DepositNonBlocking ¶
func (s *InternalApiServer) DepositNonBlocking( context context.Context, request *rpc.DepositOrWithdrawRequest) (*rpc.DepositOrWithdrawJob, error)
func (*InternalApiServer) InstantiateTrustedPaymentChannel ¶
func (*InternalApiServer) OpenTrustedPaymentChannel ¶
func (s *InternalApiServer) OpenTrustedPaymentChannel( context context.Context, request *rpc.OpenPaymentChannelRequest) (*rpc.ChannelID, error)
func (*InternalApiServer) Start ¶
func (s *InternalApiServer) Start()
type OspPayApiServer ¶ added in v1.1.1
type OspPayApiServer struct {
rpc.UnimplementedWebApiServer
// contains filtered or unexported fields
}
func NewOspPayApiServer ¶ added in v1.1.1
func NewOspPayApiServer(backend OspPayBackend, eventFeed *PaymentEventFeed) *OspPayApiServer
func (*OspPayApiServer) ConfirmOutgoingPayment ¶ added in v1.1.1
func (*OspPayApiServer) CreateAppSessionOnVirtualContract ¶ added in v1.1.1
func (s *OspPayApiServer) CreateAppSessionOnVirtualContract( context context.Context, request *rpc.CreateAppSessionOnVirtualContractRequest) (*rpc.SessionID, error)
func (*OspPayApiServer) DeleteAppSession ¶ added in v1.1.1
func (*OspPayApiServer) GetBalance ¶ added in v1.1.1
func (s *OspPayApiServer) GetBalance(context.Context, *rpc.TokenInfo) (*rpc.GetBalanceResponse, error)
func (*OspPayApiServer) GetIncomingPaymentInfo ¶ added in v1.1.1
func (s *OspPayApiServer) GetIncomingPaymentInfo( context context.Context, request *rpc.PaymentID) (*rpc.PaymentInfo, error)
func (*OspPayApiServer) GetIncomingPaymentStatus ¶ added in v1.1.1
func (s *OspPayApiServer) GetIncomingPaymentStatus( context context.Context, request *rpc.PaymentID) (*rpc.PaymentStatus, error)
func (*OspPayApiServer) GetOutgoingPaymentStatus ¶ added in v1.1.1
func (s *OspPayApiServer) GetOutgoingPaymentStatus( context context.Context, request *rpc.PaymentID) (*rpc.PaymentStatus, error)
func (*OspPayApiServer) GetPeerFreeBalance ¶ added in v1.1.1
func (s *OspPayApiServer) GetPeerFreeBalance(context.Context, *rpc.GetPeerFreeBalanceRequest) (*rpc.FreeBalance, error)
func (*OspPayApiServer) GetStatusForAppSession ¶ added in v1.1.1
func (s *OspPayApiServer) GetStatusForAppSession( context context.Context, request *rpc.SessionID) (*rpc.AppSessionStatus, error)
func (*OspPayApiServer) RejectIncomingPayment ¶ added in v1.1.1
func (*OspPayApiServer) SendConditionalPayment ¶ added in v1.1.1
func (s *OspPayApiServer) SendConditionalPayment( context context.Context, request *rpc.SendConditionalPaymentRequest) (*rpc.PaymentID, error)
func (*OspPayApiServer) SendToken ¶ added in v1.1.1
func (s *OspPayApiServer) SendToken( context context.Context, request *rpc.SendTokenRequest) (*rpc.PaymentID, error)
func (*OspPayApiServer) SubscribeIncomingPayments ¶ added in v1.1.1
func (s *OspPayApiServer) SubscribeIncomingPayments( _ *emptypb.Empty, stream rpc.WebApi_SubscribeIncomingPaymentsServer) error
func (*OspPayApiServer) SubscribeOutgoingPayments ¶ added in v1.1.1
func (s *OspPayApiServer) SubscribeOutgoingPayments( _ *emptypb.Empty, stream rpc.WebApi_SubscribeOutgoingPaymentsServer) error
type OspPayBackend ¶ added in v1.1.1
type OspPayBackend interface {
SendToken(*rpc.SendTokenRequest) (ctype.PayIDType, error)
SendConditionalPayment(*rpc.SendConditionalPaymentRequest) (ctype.PayIDType, error)
CreateAppSessionOnVirtualContract(*rpc.CreateAppSessionOnVirtualContractRequest) (string, error)
DeleteAppSession(string) error
GetStatusForAppSession(string) (uint8, error)
GetIncomingPaymentState(ctype.PayIDType) (int, error)
GetIncomingPaymentRecord(ctype.PayIDType) (*PaymentRecord, error)
GetOutgoingPaymentState(ctype.PayIDType) (int, error)
ConfirmOutgoingPayment(ctype.PayIDType) error
RejectIncomingPayment(ctype.PayIDType) error
}
type PaymentEventFeed ¶ added in v1.1.1
type PaymentEventFeed struct {
// contains filtered or unexported fields
}
PaymentEventFeed keeps at most one active subscriber per direction. Publish is best-effort and non-blocking, so slow subscribers may drop events.
func NewPaymentEventFeed ¶ added in v1.1.1
func NewPaymentEventFeed() *PaymentEventFeed
func (*PaymentEventFeed) HandleDestinationUnreachable ¶ added in v1.1.1
func (f *PaymentEventFeed) HandleDestinationUnreachable(payID ctype.PayIDType, pay *entity.ConditionalPay, note *anypb.Any)
func (*PaymentEventFeed) HandleReceivingDone ¶ added in v1.1.1
func (f *PaymentEventFeed) HandleReceivingDone( payID ctype.PayIDType, pay *entity.ConditionalPay, note *anypb.Any, reason rpc.PaymentSettleReason)
func (*PaymentEventFeed) HandleReceivingStart ¶ added in v1.1.1
func (f *PaymentEventFeed) HandleReceivingStart(payID ctype.PayIDType, pay *entity.ConditionalPay, note *anypb.Any)
func (*PaymentEventFeed) HandleSendComplete ¶ added in v1.1.1
func (f *PaymentEventFeed) HandleSendComplete( payID ctype.PayIDType, pay *entity.ConditionalPay, note *anypb.Any, reason rpc.PaymentSettleReason)
func (*PaymentEventFeed) HandleSendFail ¶ added in v1.1.1
func (f *PaymentEventFeed) HandleSendFail(payID ctype.PayIDType, pay *entity.ConditionalPay, note *anypb.Any, errMsg string)
func (*PaymentEventFeed) SubscribeIncoming ¶ added in v1.1.1
func (f *PaymentEventFeed) SubscribeIncoming() (<-chan *celersdkintf.Payment, func(), error)
func (*PaymentEventFeed) SubscribeOutgoing ¶ added in v1.1.1
func (f *PaymentEventFeed) SubscribeOutgoing() (<-chan *outgoingPaymentEvent, func(), error)
type PaymentRecord ¶ added in v1.1.1
Source Files
¶
Click to show internal directories.
Click to hide internal directories.