Documentation
¶
Index ¶
Constants ¶
View Source
const ( CooperativeWithdraw = "CooperativeWithdraw" Deploy = "Deploy" Deposit = "Deposit" IntendSettle = "IntendSettle" OpenChannel = "OpenChannel" ConfirmSettle = "ConfirmSettle" IntendWithdraw = "IntendWithdraw" ConfirmWithdraw = "ConfirmWithdraw" VetoWithdraw = "VetoWithdraw" RouterUpdated = "RouterUpdated" MigrateChannelTo = "MigrateChannelTo" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OnNewStreamCallback ¶
type OnReceivingTokenCallback ¶
type OnReceivingTokenCallback interface {
HandleReceivingStart(payID ctype.PayIDType, pay *entity.ConditionalPay, note *any.Any)
HandleReceivingDone(
payID ctype.PayIDType,
pay *entity.ConditionalPay,
note *any.Any,
reason rpc.PaymentSettleReason)
}
type OnSendingTokenCallback ¶
type OnSendingTokenCallback interface {
HandleSendComplete(
payID ctype.PayIDType,
pay *entity.ConditionalPay,
note *any.Any,
reason rpc.PaymentSettleReason)
HandleDestinationUnreachable(payID ctype.PayIDType, pay *entity.ConditionalPay, note *any.Any)
HandleSendFail(payID ctype.PayIDType, pay *entity.ConditionalPay, note *any.Any, errMsg string)
}
Click to show internal directories.
Click to hide internal directories.