Documentation
¶
Index ¶
- Variables
- func MnemonicToSeed(phrase string) ([]uint8, error)
- func SetLogStream(logStream LogStream) error
- type AesSuccessActionDataDecrypted
- type BackupFailedData
- type BackupStatus
- type BitcoinAddressData
- type BlockingBreezServices
- func (_self *BlockingBreezServices) Backup() error
- func (_self *BlockingBreezServices) BackupStatus() (BackupStatus, error)
- func (_self *BlockingBreezServices) BuyBitcoin(provider BuyBitcoinProvider) (string, error)
- func (_self *BlockingBreezServices) CloseLspChannels() error
- func (_self *BlockingBreezServices) ConnectLsp(lspId string) error
- func (object *BlockingBreezServices) Destroy()
- func (_self *BlockingBreezServices) Disconnect() error
- func (_self *BlockingBreezServices) ExecuteDevCommand(command string) (string, error)
- func (_self *BlockingBreezServices) FetchFiatRates() ([]Rate, error)
- func (_self *BlockingBreezServices) FetchLspInfo(lspId string) (*LspInformation, error)
- func (_self *BlockingBreezServices) FetchReverseSwapFees() (ReverseSwapPairInfo, error)
- func (_self *BlockingBreezServices) InProgressReverseSwaps() ([]ReverseSwapInfo, error)
- func (_self *BlockingBreezServices) InProgressSwap() (*SwapInfo, error)
- func (_self *BlockingBreezServices) ListFiatCurrencies() ([]FiatCurrency, error)
- func (_self *BlockingBreezServices) ListLsps() ([]LspInformation, error)
- func (_self *BlockingBreezServices) ListPayments(filter PaymentTypeFilter, fromTimestamp *int64, toTimestamp *int64) ([]Payment, error)
- func (_self *BlockingBreezServices) ListRefundables() ([]SwapInfo, error)
- func (_self *BlockingBreezServices) LnurlAuth(reqData LnUrlAuthRequestData) (LnUrlCallbackStatus, error)
- func (_self *BlockingBreezServices) LspId() (*string, error)
- func (_self *BlockingBreezServices) NodeInfo() (*NodeState, error)
- func (_self *BlockingBreezServices) PayLnurl(reqData LnUrlPayRequestData, amountSats uint64, comment *string) (LnUrlPayResult, error)
- func (_self *BlockingBreezServices) PaymentByHash(hash string) (*Payment, error)
- func (_self *BlockingBreezServices) ReceiveOnchain() (SwapInfo, error)
- func (_self *BlockingBreezServices) ReceivePayment(amountSats uint64, description string) (LnInvoice, error)
- func (_self *BlockingBreezServices) RecommendedFees() (RecommendedFees, error)
- func (_self *BlockingBreezServices) Refund(swapAddress string, toAddress string, satPerVbyte uint32) (string, error)
- func (_self *BlockingBreezServices) SendOnchain(amountSat uint64, onchainRecipientAddress string, pairHash string, ...) (ReverseSwapInfo, error)
- func (_self *BlockingBreezServices) SendPayment(bolt11 string, amountSats *uint64) (Payment, error)
- func (_self *BlockingBreezServices) SendSpontaneousPayment(nodeId string, amountSats uint64) (Payment, error)
- func (_self *BlockingBreezServices) Sweep(toAddress string, feeRateSatsPerVbyte uint64) error
- func (_self *BlockingBreezServices) Sync() error
- func (_self *BlockingBreezServices) WithdrawLnurl(reqData LnUrlWithdrawRequestData, amountSats uint64, description *string) (LnUrlCallbackStatus, error)
- type BreezEvent
- type BreezEventBackupFailed
- type BreezEventBackupStarted
- type BreezEventBackupSucceeded
- type BreezEventInvoicePaid
- type BreezEventNewBlock
- type BreezEventPaymentFailed
- type BreezEventPaymentSucceed
- type BreezEventSynced
- type BuyBitcoinProvider
- type ChannelState
- type ClosedChannelPaymentDetails
- type Config
- type CurrencyInfo
- type EnvironmentType
- type EventListener
- type FeeratePreset
- type FfiConverterBlockingBreezServices
- type FfiConverterCallbackInterface
- type FfiConverterOptionalSequenceTypeLocaleOverrides
- type FfiConverterOptionalSequenceTypeLocalizedName
- type FfiConverterOptionalTypeGreenlightCredentials
- type FfiConverterOptionalTypeLnInvoice
- type FfiConverterOptionalTypeLspInformation
- type FfiConverterOptionalTypeNodeState
- type FfiConverterOptionalTypePayment
- type FfiConverterOptionalTypeSuccessActionProcessed
- type FfiConverterOptionalTypeSwapInfo
- type FfiConverterOptionalTypeSymbol
- type FfiConverterOptionalbool
- type FfiConverterOptionalint64
- type FfiConverterOptionalstring
- type FfiConverterOptionaluint32
- type FfiConverterOptionaluint64
- type FfiConverterSequenceTypeFiatCurrency
- type FfiConverterSequenceTypeLocaleOverrides
- type FfiConverterSequenceTypeLocalizedName
- type FfiConverterSequenceTypeLspInformation
- type FfiConverterSequenceTypePayment
- type FfiConverterSequenceTypeRate
- type FfiConverterSequenceTypeReverseSwapInfo
- type FfiConverterSequenceTypeRouteHint
- type FfiConverterSequenceTypeRouteHintHop
- type FfiConverterSequenceTypeSwapInfo
- type FfiConverterSequenceTypeUnspentTransactionOutput
- type FfiConverterSequencestring
- type FfiConverterSequenceuint8
- type FfiConverterTypeAesSuccessActionDataDecrypted
- type FfiConverterTypeBackupFailedData
- type FfiConverterTypeBackupStatus
- type FfiConverterTypeBitcoinAddressData
- type FfiConverterTypeBreezEvent
- type FfiConverterTypeBuyBitcoinProvider
- type FfiConverterTypeChannelState
- type FfiConverterTypeClosedChannelPaymentDetails
- type FfiConverterTypeConfig
- type FfiConverterTypeCurrencyInfo
- type FfiConverterTypeEnvironmentType
- type FfiConverterTypeEventListener
- type FfiConverterTypeFeeratePreset
- type FfiConverterTypeFiatCurrency
- type FfiConverterTypeGreenlightCredentials
- type FfiConverterTypeGreenlightNodeConfig
- type FfiConverterTypeInputType
- type FfiConverterTypeInvoicePaidDetails
- type FfiConverterTypeLnInvoice
- type FfiConverterTypeLnPaymentDetails
- type FfiConverterTypeLnUrlAuthRequestData
- type FfiConverterTypeLnUrlCallbackStatus
- type FfiConverterTypeLnUrlErrorData
- type FfiConverterTypeLnUrlPayRequestData
- type FfiConverterTypeLnUrlPayResult
- type FfiConverterTypeLnUrlWithdrawRequestData
- type FfiConverterTypeLocaleOverrides
- type FfiConverterTypeLocalizedName
- type FfiConverterTypeLogEntry
- type FfiConverterTypeLogStream
- type FfiConverterTypeLspInformation
- type FfiConverterTypeMessageSuccessActionData
- type FfiConverterTypeMetadataItem
- type FfiConverterTypeNetwork
- type FfiConverterTypeNodeConfig
- type FfiConverterTypeNodeState
- type FfiConverterTypePayment
- type FfiConverterTypePaymentDetails
- type FfiConverterTypePaymentFailedData
- type FfiConverterTypePaymentType
- type FfiConverterTypePaymentTypeFilter
- type FfiConverterTypeRate
- type FfiConverterTypeRecommendedFees
- type FfiConverterTypeReverseSwapInfo
- type FfiConverterTypeReverseSwapPairInfo
- type FfiConverterTypeReverseSwapStatus
- type FfiConverterTypeRouteHint
- type FfiConverterTypeRouteHintHop
- type FfiConverterTypeSdkError
- type FfiConverterTypeSuccessActionProcessed
- type FfiConverterTypeSwapInfo
- type FfiConverterTypeSwapStatus
- type FfiConverterTypeSymbol
- type FfiConverterTypeUnspentTransactionOutput
- type FfiConverterTypeUrlSuccessActionData
- type FfiConverterbool
- type FfiConverterfloat64
- type FfiConverterint32
- type FfiConverterint64
- type FfiConverterstring
- type FfiConverteruint16
- type FfiConverteruint32
- type FfiConverteruint64
- type FfiConverteruint8
- type FfiDestroyerBlockingBreezServices
- type FfiDestroyerOptionalSequenceTypeLocaleOverrides
- type FfiDestroyerOptionalSequenceTypeLocalizedName
- type FfiDestroyerOptionalTypeGreenlightCredentials
- type FfiDestroyerOptionalTypeLnInvoice
- type FfiDestroyerOptionalTypeLspInformation
- type FfiDestroyerOptionalTypeNodeState
- type FfiDestroyerOptionalTypePayment
- type FfiDestroyerOptionalTypeSuccessActionProcessed
- type FfiDestroyerOptionalTypeSwapInfo
- type FfiDestroyerOptionalTypeSymbol
- type FfiDestroyerOptionalbool
- type FfiDestroyerOptionalint64
- type FfiDestroyerOptionalstring
- type FfiDestroyerOptionaluint32
- type FfiDestroyerOptionaluint64
- type FfiDestroyerSequenceTypeFiatCurrency
- type FfiDestroyerSequenceTypeLocaleOverrides
- type FfiDestroyerSequenceTypeLocalizedName
- type FfiDestroyerSequenceTypeLspInformation
- type FfiDestroyerSequenceTypePayment
- type FfiDestroyerSequenceTypeRate
- type FfiDestroyerSequenceTypeReverseSwapInfo
- type FfiDestroyerSequenceTypeRouteHint
- type FfiDestroyerSequenceTypeRouteHintHop
- type FfiDestroyerSequenceTypeSwapInfo
- type FfiDestroyerSequenceTypeUnspentTransactionOutput
- type FfiDestroyerSequencestring
- type FfiDestroyerSequenceuint8
- type FfiDestroyerTypeAesSuccessActionDataDecrypted
- type FfiDestroyerTypeBackupFailedData
- type FfiDestroyerTypeBackupStatus
- type FfiDestroyerTypeBitcoinAddressData
- type FfiDestroyerTypeBreezEvent
- type FfiDestroyerTypeBuyBitcoinProvider
- type FfiDestroyerTypeChannelState
- type FfiDestroyerTypeClosedChannelPaymentDetails
- type FfiDestroyerTypeConfig
- type FfiDestroyerTypeCurrencyInfo
- type FfiDestroyerTypeEnvironmentType
- type FfiDestroyerTypeEventListener
- type FfiDestroyerTypeFeeratePreset
- type FfiDestroyerTypeFiatCurrency
- type FfiDestroyerTypeGreenlightCredentials
- type FfiDestroyerTypeGreenlightNodeConfig
- type FfiDestroyerTypeInputType
- type FfiDestroyerTypeInvoicePaidDetails
- type FfiDestroyerTypeLnInvoice
- type FfiDestroyerTypeLnPaymentDetails
- type FfiDestroyerTypeLnUrlAuthRequestData
- type FfiDestroyerTypeLnUrlCallbackStatus
- type FfiDestroyerTypeLnUrlErrorData
- type FfiDestroyerTypeLnUrlPayRequestData
- type FfiDestroyerTypeLnUrlPayResult
- type FfiDestroyerTypeLnUrlWithdrawRequestData
- type FfiDestroyerTypeLocaleOverrides
- type FfiDestroyerTypeLocalizedName
- type FfiDestroyerTypeLogEntry
- type FfiDestroyerTypeLogStream
- type FfiDestroyerTypeLspInformation
- type FfiDestroyerTypeMessageSuccessActionData
- type FfiDestroyerTypeMetadataItem
- type FfiDestroyerTypeNetwork
- type FfiDestroyerTypeNodeConfig
- type FfiDestroyerTypeNodeState
- type FfiDestroyerTypePayment
- type FfiDestroyerTypePaymentDetails
- type FfiDestroyerTypePaymentFailedData
- type FfiDestroyerTypePaymentType
- type FfiDestroyerTypePaymentTypeFilter
- type FfiDestroyerTypeRate
- type FfiDestroyerTypeRecommendedFees
- type FfiDestroyerTypeReverseSwapInfo
- type FfiDestroyerTypeReverseSwapPairInfo
- type FfiDestroyerTypeReverseSwapStatus
- type FfiDestroyerTypeRouteHint
- type FfiDestroyerTypeRouteHintHop
- type FfiDestroyerTypeSuccessActionProcessed
- type FfiDestroyerTypeSwapInfo
- type FfiDestroyerTypeSwapStatus
- type FfiDestroyerTypeSymbol
- type FfiDestroyerTypeUnspentTransactionOutput
- type FfiDestroyerTypeUrlSuccessActionData
- type FfiDestroyerbool
- type FfiDestroyerfloat64
- type FfiDestroyerint32
- type FfiDestroyerint64
- type FfiDestroyerstring
- type FfiDestroyeruint16
- type FfiDestroyeruint32
- type FfiDestroyeruint64
- type FfiDestroyeruint8
- type FfiObject
- type FiatCurrency
- type GreenlightCredentials
- type GreenlightNodeConfig
- type InputType
- type InputTypeBitcoinAddress
- type InputTypeBolt11
- type InputTypeLnUrlAuth
- type InputTypeLnUrlError
- type InputTypeLnUrlPay
- type InputTypeLnUrlWithdraw
- type InputTypeNodeId
- type InputTypeUrl
- type InvoicePaidDetails
- type LnInvoice
- type LnPaymentDetails
- type LnUrlAuthRequestData
- type LnUrlCallbackStatus
- type LnUrlCallbackStatusErrorStatus
- type LnUrlCallbackStatusOk
- type LnUrlErrorData
- type LnUrlPayRequestData
- type LnUrlPayResult
- type LnUrlPayResultEndpointError
- type LnUrlPayResultEndpointSuccess
- type LnUrlWithdrawRequestData
- type LocaleOverrides
- type LocalizedName
- type LogEntry
- type LogStream
- type LspInformation
- type MessageSuccessActionData
- type MetadataItem
- type Network
- type NodeConfig
- type NodeConfigGreenlight
- type NodeState
- type Payment
- type PaymentDetails
- type PaymentDetailsClosedChannel
- type PaymentDetailsLn
- type PaymentFailedData
- type PaymentType
- type PaymentTypeFilter
- type Rate
- type RecommendedFees
- type ReverseSwapInfo
- type ReverseSwapPairInfo
- type ReverseSwapStatus
- type RouteHint
- type RouteHintHop
- type SdkError
- type SdkErrorError
- type SuccessActionProcessed
- type SuccessActionProcessedAes
- type SuccessActionProcessedMessage
- type SuccessActionProcessedUrl
- type SwapInfo
- type SwapStatus
- type Symbol
- type UnspentTransactionOutput
- type UrlSuccessActionData
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSdkErrorError = fmt.Errorf("SdkErrorError")
Err* are used for checking error type with `errors.Is`
View Source
var FfiConverterBlockingBreezServicesINSTANCE = FfiConverterBlockingBreezServices{}
View Source
var FfiConverterOptionalSequenceTypeLocaleOverridesINSTANCE = FfiConverterOptionalSequenceTypeLocaleOverrides{}
View Source
var FfiConverterOptionalSequenceTypeLocalizedNameINSTANCE = FfiConverterOptionalSequenceTypeLocalizedName{}
View Source
var FfiConverterOptionalTypeGreenlightCredentialsINSTANCE = FfiConverterOptionalTypeGreenlightCredentials{}
View Source
var FfiConverterOptionalTypeLnInvoiceINSTANCE = FfiConverterOptionalTypeLnInvoice{}
View Source
var FfiConverterOptionalTypeLspInformationINSTANCE = FfiConverterOptionalTypeLspInformation{}
View Source
var FfiConverterOptionalTypeNodeStateINSTANCE = FfiConverterOptionalTypeNodeState{}
View Source
var FfiConverterOptionalTypePaymentINSTANCE = FfiConverterOptionalTypePayment{}
View Source
var FfiConverterOptionalTypeSuccessActionProcessedINSTANCE = FfiConverterOptionalTypeSuccessActionProcessed{}
View Source
var FfiConverterOptionalTypeSwapInfoINSTANCE = FfiConverterOptionalTypeSwapInfo{}
View Source
var FfiConverterOptionalTypeSymbolINSTANCE = FfiConverterOptionalTypeSymbol{}
View Source
var FfiConverterOptionalboolINSTANCE = FfiConverterOptionalbool{}
View Source
var FfiConverterOptionalint64INSTANCE = FfiConverterOptionalint64{}
View Source
var FfiConverterOptionalstringINSTANCE = FfiConverterOptionalstring{}
View Source
var FfiConverterOptionaluint32INSTANCE = FfiConverterOptionaluint32{}
View Source
var FfiConverterOptionaluint64INSTANCE = FfiConverterOptionaluint64{}
View Source
var FfiConverterSequenceTypeFiatCurrencyINSTANCE = FfiConverterSequenceTypeFiatCurrency{}
View Source
var FfiConverterSequenceTypeLocaleOverridesINSTANCE = FfiConverterSequenceTypeLocaleOverrides{}
View Source
var FfiConverterSequenceTypeLocalizedNameINSTANCE = FfiConverterSequenceTypeLocalizedName{}
View Source
var FfiConverterSequenceTypeLspInformationINSTANCE = FfiConverterSequenceTypeLspInformation{}
View Source
var FfiConverterSequenceTypePaymentINSTANCE = FfiConverterSequenceTypePayment{}
View Source
var FfiConverterSequenceTypeRateINSTANCE = FfiConverterSequenceTypeRate{}
View Source
var FfiConverterSequenceTypeReverseSwapInfoINSTANCE = FfiConverterSequenceTypeReverseSwapInfo{}
View Source
var FfiConverterSequenceTypeRouteHintHopINSTANCE = FfiConverterSequenceTypeRouteHintHop{}
View Source
var FfiConverterSequenceTypeRouteHintINSTANCE = FfiConverterSequenceTypeRouteHint{}
View Source
var FfiConverterSequenceTypeSwapInfoINSTANCE = FfiConverterSequenceTypeSwapInfo{}
View Source
var FfiConverterSequenceTypeUnspentTransactionOutputINSTANCE = FfiConverterSequenceTypeUnspentTransactionOutput{}
View Source
var FfiConverterSequencestringINSTANCE = FfiConverterSequencestring{}
View Source
var FfiConverterSequenceuint8INSTANCE = FfiConverterSequenceuint8{}
View Source
var FfiConverterTypeAesSuccessActionDataDecryptedINSTANCE = FfiConverterTypeAesSuccessActionDataDecrypted{}
View Source
var FfiConverterTypeBackupFailedDataINSTANCE = FfiConverterTypeBackupFailedData{}
View Source
var FfiConverterTypeBackupStatusINSTANCE = FfiConverterTypeBackupStatus{}
View Source
var FfiConverterTypeBitcoinAddressDataINSTANCE = FfiConverterTypeBitcoinAddressData{}
View Source
var FfiConverterTypeBreezEventINSTANCE = FfiConverterTypeBreezEvent{}
View Source
var FfiConverterTypeBuyBitcoinProviderINSTANCE = FfiConverterTypeBuyBitcoinProvider{}
View Source
var FfiConverterTypeChannelStateINSTANCE = FfiConverterTypeChannelState{}
View Source
var FfiConverterTypeClosedChannelPaymentDetailsINSTANCE = FfiConverterTypeClosedChannelPaymentDetails{}
View Source
var FfiConverterTypeConfigINSTANCE = FfiConverterTypeConfig{}
View Source
var FfiConverterTypeCurrencyInfoINSTANCE = FfiConverterTypeCurrencyInfo{}
View Source
var FfiConverterTypeEnvironmentTypeINSTANCE = FfiConverterTypeEnvironmentType{}
View Source
var FfiConverterTypeEventListenerINSTANCE = &FfiConverterTypeEventListener{ FfiConverterCallbackInterface: FfiConverterCallbackInterface[EventListener]{ handleMap: newConcurrentHandleMap[EventListener](), }, }
View Source
var FfiConverterTypeFeeratePresetINSTANCE = FfiConverterTypeFeeratePreset{}
View Source
var FfiConverterTypeFiatCurrencyINSTANCE = FfiConverterTypeFiatCurrency{}
View Source
var FfiConverterTypeGreenlightCredentialsINSTANCE = FfiConverterTypeGreenlightCredentials{}
View Source
var FfiConverterTypeGreenlightNodeConfigINSTANCE = FfiConverterTypeGreenlightNodeConfig{}
View Source
var FfiConverterTypeInputTypeINSTANCE = FfiConverterTypeInputType{}
View Source
var FfiConverterTypeInvoicePaidDetailsINSTANCE = FfiConverterTypeInvoicePaidDetails{}
View Source
var FfiConverterTypeLnInvoiceINSTANCE = FfiConverterTypeLnInvoice{}
View Source
var FfiConverterTypeLnPaymentDetailsINSTANCE = FfiConverterTypeLnPaymentDetails{}
View Source
var FfiConverterTypeLnUrlAuthRequestDataINSTANCE = FfiConverterTypeLnUrlAuthRequestData{}
View Source
var FfiConverterTypeLnUrlCallbackStatusINSTANCE = FfiConverterTypeLnUrlCallbackStatus{}
View Source
var FfiConverterTypeLnUrlErrorDataINSTANCE = FfiConverterTypeLnUrlErrorData{}
View Source
var FfiConverterTypeLnUrlPayRequestDataINSTANCE = FfiConverterTypeLnUrlPayRequestData{}
View Source
var FfiConverterTypeLnUrlPayResultINSTANCE = FfiConverterTypeLnUrlPayResult{}
View Source
var FfiConverterTypeLnUrlWithdrawRequestDataINSTANCE = FfiConverterTypeLnUrlWithdrawRequestData{}
View Source
var FfiConverterTypeLocaleOverridesINSTANCE = FfiConverterTypeLocaleOverrides{}
View Source
var FfiConverterTypeLocalizedNameINSTANCE = FfiConverterTypeLocalizedName{}
View Source
var FfiConverterTypeLogEntryINSTANCE = FfiConverterTypeLogEntry{}
View Source
var FfiConverterTypeLogStreamINSTANCE = &FfiConverterTypeLogStream{ FfiConverterCallbackInterface: FfiConverterCallbackInterface[LogStream]{ handleMap: newConcurrentHandleMap[LogStream](), }, }
View Source
var FfiConverterTypeLspInformationINSTANCE = FfiConverterTypeLspInformation{}
View Source
var FfiConverterTypeMessageSuccessActionDataINSTANCE = FfiConverterTypeMessageSuccessActionData{}
View Source
var FfiConverterTypeMetadataItemINSTANCE = FfiConverterTypeMetadataItem{}
View Source
var FfiConverterTypeNetworkINSTANCE = FfiConverterTypeNetwork{}
View Source
var FfiConverterTypeNodeConfigINSTANCE = FfiConverterTypeNodeConfig{}
View Source
var FfiConverterTypeNodeStateINSTANCE = FfiConverterTypeNodeState{}
View Source
var FfiConverterTypePaymentDetailsINSTANCE = FfiConverterTypePaymentDetails{}
View Source
var FfiConverterTypePaymentFailedDataINSTANCE = FfiConverterTypePaymentFailedData{}
View Source
var FfiConverterTypePaymentINSTANCE = FfiConverterTypePayment{}
View Source
var FfiConverterTypePaymentTypeFilterINSTANCE = FfiConverterTypePaymentTypeFilter{}
View Source
var FfiConverterTypePaymentTypeINSTANCE = FfiConverterTypePaymentType{}
View Source
var FfiConverterTypeRateINSTANCE = FfiConverterTypeRate{}
View Source
var FfiConverterTypeRecommendedFeesINSTANCE = FfiConverterTypeRecommendedFees{}
View Source
var FfiConverterTypeReverseSwapInfoINSTANCE = FfiConverterTypeReverseSwapInfo{}
View Source
var FfiConverterTypeReverseSwapPairInfoINSTANCE = FfiConverterTypeReverseSwapPairInfo{}
View Source
var FfiConverterTypeReverseSwapStatusINSTANCE = FfiConverterTypeReverseSwapStatus{}
View Source
var FfiConverterTypeRouteHintHopINSTANCE = FfiConverterTypeRouteHintHop{}
View Source
var FfiConverterTypeRouteHintINSTANCE = FfiConverterTypeRouteHint{}
View Source
var FfiConverterTypeSdkErrorINSTANCE = FfiConverterTypeSdkError{}
View Source
var FfiConverterTypeSuccessActionProcessedINSTANCE = FfiConverterTypeSuccessActionProcessed{}
View Source
var FfiConverterTypeSwapInfoINSTANCE = FfiConverterTypeSwapInfo{}
View Source
var FfiConverterTypeSwapStatusINSTANCE = FfiConverterTypeSwapStatus{}
View Source
var FfiConverterTypeSymbolINSTANCE = FfiConverterTypeSymbol{}
View Source
var FfiConverterTypeUnspentTransactionOutputINSTANCE = FfiConverterTypeUnspentTransactionOutput{}
View Source
var FfiConverterTypeUrlSuccessActionDataINSTANCE = FfiConverterTypeUrlSuccessActionData{}
View Source
var FfiConverterboolINSTANCE = FfiConverterbool{}
View Source
var FfiConverterfloat64INSTANCE = FfiConverterfloat64{}
View Source
var FfiConverterint32INSTANCE = FfiConverterint32{}
View Source
var FfiConverterint64INSTANCE = FfiConverterint64{}
View Source
var FfiConverterstringINSTANCE = FfiConverterstring{}
View Source
var FfiConverteruint16INSTANCE = FfiConverteruint16{}
View Source
var FfiConverteruint32INSTANCE = FfiConverteruint32{}
View Source
var FfiConverteruint64INSTANCE = FfiConverteruint64{}
View Source
var FfiConverteruint8INSTANCE = FfiConverteruint8{}
Functions ¶
func MnemonicToSeed ¶
func SetLogStream ¶
Types ¶
type AesSuccessActionDataDecrypted ¶
func (*AesSuccessActionDataDecrypted) Destroy ¶
func (r *AesSuccessActionDataDecrypted) Destroy()
type BackupFailedData ¶
type BackupFailedData struct {
Error string
}
func (*BackupFailedData) Destroy ¶
func (r *BackupFailedData) Destroy()
type BackupStatus ¶
func (*BackupStatus) Destroy ¶
func (r *BackupStatus) Destroy()
type BitcoinAddressData ¶
type BitcoinAddressData struct { Address string Network Network AmountSat *uint64 Label *string Message *string }
func (*BitcoinAddressData) Destroy ¶
func (r *BitcoinAddressData) Destroy()
type BlockingBreezServices ¶
type BlockingBreezServices struct {
// contains filtered or unexported fields
}
func Connect ¶
func Connect(config Config, seed []uint8, listener EventListener) (*BlockingBreezServices, error)
func (*BlockingBreezServices) Backup ¶
func (_self *BlockingBreezServices) Backup() error
func (*BlockingBreezServices) BackupStatus ¶
func (_self *BlockingBreezServices) BackupStatus() (BackupStatus, error)
func (*BlockingBreezServices) BuyBitcoin ¶
func (_self *BlockingBreezServices) BuyBitcoin(provider BuyBitcoinProvider) (string, error)
func (*BlockingBreezServices) CloseLspChannels ¶
func (_self *BlockingBreezServices) CloseLspChannels() error
func (*BlockingBreezServices) ConnectLsp ¶
func (_self *BlockingBreezServices) ConnectLsp(lspId string) error
func (*BlockingBreezServices) Destroy ¶
func (object *BlockingBreezServices) Destroy()
func (*BlockingBreezServices) Disconnect ¶
func (_self *BlockingBreezServices) Disconnect() error
func (*BlockingBreezServices) ExecuteDevCommand ¶
func (_self *BlockingBreezServices) ExecuteDevCommand(command string) (string, error)
func (*BlockingBreezServices) FetchFiatRates ¶
func (_self *BlockingBreezServices) FetchFiatRates() ([]Rate, error)
func (*BlockingBreezServices) FetchLspInfo ¶
func (_self *BlockingBreezServices) FetchLspInfo(lspId string) (*LspInformation, error)
func (*BlockingBreezServices) FetchReverseSwapFees ¶
func (_self *BlockingBreezServices) FetchReverseSwapFees() (ReverseSwapPairInfo, error)
func (*BlockingBreezServices) InProgressReverseSwaps ¶
func (_self *BlockingBreezServices) InProgressReverseSwaps() ([]ReverseSwapInfo, error)
func (*BlockingBreezServices) InProgressSwap ¶
func (_self *BlockingBreezServices) InProgressSwap() (*SwapInfo, error)
func (*BlockingBreezServices) ListFiatCurrencies ¶
func (_self *BlockingBreezServices) ListFiatCurrencies() ([]FiatCurrency, error)
func (*BlockingBreezServices) ListLsps ¶
func (_self *BlockingBreezServices) ListLsps() ([]LspInformation, error)
func (*BlockingBreezServices) ListPayments ¶
func (_self *BlockingBreezServices) ListPayments(filter PaymentTypeFilter, fromTimestamp *int64, toTimestamp *int64) ([]Payment, error)
func (*BlockingBreezServices) ListRefundables ¶
func (_self *BlockingBreezServices) ListRefundables() ([]SwapInfo, error)
func (*BlockingBreezServices) LnurlAuth ¶
func (_self *BlockingBreezServices) LnurlAuth(reqData LnUrlAuthRequestData) (LnUrlCallbackStatus, error)
func (*BlockingBreezServices) LspId ¶
func (_self *BlockingBreezServices) LspId() (*string, error)
func (*BlockingBreezServices) NodeInfo ¶
func (_self *BlockingBreezServices) NodeInfo() (*NodeState, error)
func (*BlockingBreezServices) PayLnurl ¶
func (_self *BlockingBreezServices) PayLnurl(reqData LnUrlPayRequestData, amountSats uint64, comment *string) (LnUrlPayResult, error)
func (*BlockingBreezServices) PaymentByHash ¶
func (_self *BlockingBreezServices) PaymentByHash(hash string) (*Payment, error)
func (*BlockingBreezServices) ReceiveOnchain ¶
func (_self *BlockingBreezServices) ReceiveOnchain() (SwapInfo, error)
func (*BlockingBreezServices) ReceivePayment ¶
func (_self *BlockingBreezServices) ReceivePayment(amountSats uint64, description string) (LnInvoice, error)
func (*BlockingBreezServices) RecommendedFees ¶
func (_self *BlockingBreezServices) RecommendedFees() (RecommendedFees, error)
func (*BlockingBreezServices) SendOnchain ¶
func (_self *BlockingBreezServices) SendOnchain(amountSat uint64, onchainRecipientAddress string, pairHash string, satPerVbyte uint64) (ReverseSwapInfo, error)
func (*BlockingBreezServices) SendPayment ¶
func (_self *BlockingBreezServices) SendPayment(bolt11 string, amountSats *uint64) (Payment, error)
func (*BlockingBreezServices) SendSpontaneousPayment ¶
func (_self *BlockingBreezServices) SendSpontaneousPayment(nodeId string, amountSats uint64) (Payment, error)
func (*BlockingBreezServices) Sweep ¶
func (_self *BlockingBreezServices) Sweep(toAddress string, feeRateSatsPerVbyte uint64) error
func (*BlockingBreezServices) Sync ¶
func (_self *BlockingBreezServices) Sync() error
func (*BlockingBreezServices) WithdrawLnurl ¶
func (_self *BlockingBreezServices) WithdrawLnurl(reqData LnUrlWithdrawRequestData, amountSats uint64, description *string) (LnUrlCallbackStatus, error)
type BreezEvent ¶
type BreezEvent interface {
Destroy()
}
type BreezEventBackupFailed ¶
type BreezEventBackupFailed struct {
Details BackupFailedData
}
func (BreezEventBackupFailed) Destroy ¶
func (e BreezEventBackupFailed) Destroy()
type BreezEventBackupStarted ¶
type BreezEventBackupStarted struct { }
func (BreezEventBackupStarted) Destroy ¶
func (e BreezEventBackupStarted) Destroy()
type BreezEventBackupSucceeded ¶
type BreezEventBackupSucceeded struct { }
func (BreezEventBackupSucceeded) Destroy ¶
func (e BreezEventBackupSucceeded) Destroy()
type BreezEventInvoicePaid ¶
type BreezEventInvoicePaid struct {
Details InvoicePaidDetails
}
func (BreezEventInvoicePaid) Destroy ¶
func (e BreezEventInvoicePaid) Destroy()
type BreezEventNewBlock ¶
type BreezEventNewBlock struct {
Block uint32
}
func (BreezEventNewBlock) Destroy ¶
func (e BreezEventNewBlock) Destroy()
type BreezEventPaymentFailed ¶
type BreezEventPaymentFailed struct {
Details PaymentFailedData
}
func (BreezEventPaymentFailed) Destroy ¶
func (e BreezEventPaymentFailed) Destroy()
type BreezEventPaymentSucceed ¶
type BreezEventPaymentSucceed struct {
Details Payment
}
func (BreezEventPaymentSucceed) Destroy ¶
func (e BreezEventPaymentSucceed) Destroy()
type BreezEventSynced ¶
type BreezEventSynced struct { }
func (BreezEventSynced) Destroy ¶
func (e BreezEventSynced) Destroy()
type BuyBitcoinProvider ¶
type BuyBitcoinProvider uint
const (
BuyBitcoinProviderMoonpay BuyBitcoinProvider = 1
)
type ChannelState ¶
type ChannelState uint
const ( ChannelStatePendingOpen ChannelState = 1 ChannelStateOpened ChannelState = 2 ChannelStatePendingClose ChannelState = 3 ChannelStateClosed ChannelState = 4 )
type ClosedChannelPaymentDetails ¶
type ClosedChannelPaymentDetails struct { ShortChannelId string State ChannelState FundingTxid string }
func (*ClosedChannelPaymentDetails) Destroy ¶
func (r *ClosedChannelPaymentDetails) Destroy()
type Config ¶
type Config struct { Breezserver string MempoolspaceUrl string WorkingDir string Network Network PaymentTimeoutSec uint32 DefaultLspId *string ApiKey *string MaxfeePercent float64 NodeConfig NodeConfig }
func DefaultConfig ¶
func DefaultConfig(envType EnvironmentType, apiKey string, nodeConfig NodeConfig) Config
type CurrencyInfo ¶
type CurrencyInfo struct { Name string FractionSize uint32 Spacing *uint32 Symbol *Symbol UniqSymbol *Symbol LocalizedName *[]LocalizedName LocaleOverrides *[]LocaleOverrides }
func (*CurrencyInfo) Destroy ¶
func (r *CurrencyInfo) Destroy()
type EnvironmentType ¶
type EnvironmentType uint
const ( EnvironmentTypeProduction EnvironmentType = 1 EnvironmentTypeStaging EnvironmentType = 2 )
type EventListener ¶
type EventListener interface {
OnEvent(e BreezEvent)
}
Declaration and FfiConverters for EventListener Callback Interface
type FeeratePreset ¶
type FeeratePreset uint
const ( FeeratePresetRegular FeeratePreset = 1 FeeratePresetEconomy FeeratePreset = 2 FeeratePresetPriority FeeratePreset = 3 )
type FfiConverterBlockingBreezServices ¶
type FfiConverterBlockingBreezServices struct{}
type FfiConverterCallbackInterface ¶
type FfiConverterCallbackInterface[CallbackInterface any] struct { // contains filtered or unexported fields }
type FfiConverterOptionalSequenceTypeLocaleOverrides ¶
type FfiConverterOptionalSequenceTypeLocaleOverrides struct{}
type FfiConverterOptionalSequenceTypeLocalizedName ¶
type FfiConverterOptionalSequenceTypeLocalizedName struct{}
type FfiConverterOptionalTypeGreenlightCredentials ¶
type FfiConverterOptionalTypeGreenlightCredentials struct{}
type FfiConverterOptionalTypeLnInvoice ¶
type FfiConverterOptionalTypeLnInvoice struct{}
type FfiConverterOptionalTypeLspInformation ¶
type FfiConverterOptionalTypeLspInformation struct{}
type FfiConverterOptionalTypeNodeState ¶
type FfiConverterOptionalTypeNodeState struct{}
type FfiConverterOptionalTypePayment ¶
type FfiConverterOptionalTypePayment struct{}
type FfiConverterOptionalTypeSuccessActionProcessed ¶
type FfiConverterOptionalTypeSuccessActionProcessed struct{}
type FfiConverterOptionalTypeSwapInfo ¶
type FfiConverterOptionalTypeSwapInfo struct{}
type FfiConverterOptionalTypeSymbol ¶
type FfiConverterOptionalTypeSymbol struct{}
type FfiConverterOptionalbool ¶
type FfiConverterOptionalbool struct{}
type FfiConverterOptionalint64 ¶
type FfiConverterOptionalint64 struct{}
type FfiConverterOptionalstring ¶
type FfiConverterOptionalstring struct{}
type FfiConverterOptionaluint32 ¶
type FfiConverterOptionaluint32 struct{}
type FfiConverterOptionaluint64 ¶
type FfiConverterOptionaluint64 struct{}
type FfiConverterSequenceTypeFiatCurrency ¶
type FfiConverterSequenceTypeFiatCurrency struct{}
type FfiConverterSequenceTypeLocaleOverrides ¶
type FfiConverterSequenceTypeLocaleOverrides struct{}
type FfiConverterSequenceTypeLocalizedName ¶
type FfiConverterSequenceTypeLocalizedName struct{}
type FfiConverterSequenceTypeLspInformation ¶
type FfiConverterSequenceTypeLspInformation struct{}
type FfiConverterSequenceTypePayment ¶
type FfiConverterSequenceTypePayment struct{}
type FfiConverterSequenceTypeRate ¶
type FfiConverterSequenceTypeRate struct{}
type FfiConverterSequenceTypeReverseSwapInfo ¶
type FfiConverterSequenceTypeReverseSwapInfo struct{}
type FfiConverterSequenceTypeRouteHint ¶
type FfiConverterSequenceTypeRouteHint struct{}
type FfiConverterSequenceTypeRouteHintHop ¶
type FfiConverterSequenceTypeRouteHintHop struct{}
type FfiConverterSequenceTypeSwapInfo ¶
type FfiConverterSequenceTypeSwapInfo struct{}
type FfiConverterSequenceTypeUnspentTransactionOutput ¶
type FfiConverterSequenceTypeUnspentTransactionOutput struct{}
type FfiConverterSequencestring ¶
type FfiConverterSequencestring struct{}
type FfiConverterSequenceuint8 ¶
type FfiConverterSequenceuint8 struct{}
type FfiConverterTypeAesSuccessActionDataDecrypted ¶
type FfiConverterTypeAesSuccessActionDataDecrypted struct{}
type FfiConverterTypeBackupFailedData ¶
type FfiConverterTypeBackupFailedData struct{}
type FfiConverterTypeBackupStatus ¶
type FfiConverterTypeBackupStatus struct{}
type FfiConverterTypeBitcoinAddressData ¶
type FfiConverterTypeBitcoinAddressData struct{}
type FfiConverterTypeBreezEvent ¶
type FfiConverterTypeBreezEvent struct{}
type FfiConverterTypeBuyBitcoinProvider ¶
type FfiConverterTypeBuyBitcoinProvider struct{}
type FfiConverterTypeChannelState ¶
type FfiConverterTypeChannelState struct{}
type FfiConverterTypeClosedChannelPaymentDetails ¶
type FfiConverterTypeClosedChannelPaymentDetails struct{}
type FfiConverterTypeConfig ¶
type FfiConverterTypeConfig struct{}
type FfiConverterTypeCurrencyInfo ¶
type FfiConverterTypeCurrencyInfo struct{}
type FfiConverterTypeEnvironmentType ¶
type FfiConverterTypeEnvironmentType struct{}
type FfiConverterTypeEventListener ¶
type FfiConverterTypeEventListener struct { FfiConverterCallbackInterface[EventListener] }
type FfiConverterTypeFeeratePreset ¶
type FfiConverterTypeFeeratePreset struct{}
type FfiConverterTypeFiatCurrency ¶
type FfiConverterTypeFiatCurrency struct{}
type FfiConverterTypeGreenlightCredentials ¶
type FfiConverterTypeGreenlightCredentials struct{}
type FfiConverterTypeGreenlightNodeConfig ¶
type FfiConverterTypeGreenlightNodeConfig struct{}
type FfiConverterTypeInputType ¶
type FfiConverterTypeInputType struct{}
type FfiConverterTypeInvoicePaidDetails ¶
type FfiConverterTypeInvoicePaidDetails struct{}
type FfiConverterTypeLnInvoice ¶
type FfiConverterTypeLnInvoice struct{}
type FfiConverterTypeLnPaymentDetails ¶
type FfiConverterTypeLnPaymentDetails struct{}
type FfiConverterTypeLnUrlAuthRequestData ¶
type FfiConverterTypeLnUrlAuthRequestData struct{}
type FfiConverterTypeLnUrlCallbackStatus ¶
type FfiConverterTypeLnUrlCallbackStatus struct{}
type FfiConverterTypeLnUrlErrorData ¶
type FfiConverterTypeLnUrlErrorData struct{}
type FfiConverterTypeLnUrlPayRequestData ¶
type FfiConverterTypeLnUrlPayRequestData struct{}
type FfiConverterTypeLnUrlPayResult ¶
type FfiConverterTypeLnUrlPayResult struct{}
type FfiConverterTypeLnUrlWithdrawRequestData ¶
type FfiConverterTypeLnUrlWithdrawRequestData struct{}
type FfiConverterTypeLocaleOverrides ¶
type FfiConverterTypeLocaleOverrides struct{}
type FfiConverterTypeLocalizedName ¶
type FfiConverterTypeLocalizedName struct{}
type FfiConverterTypeLogEntry ¶
type FfiConverterTypeLogEntry struct{}
type FfiConverterTypeLogStream ¶
type FfiConverterTypeLogStream struct { FfiConverterCallbackInterface[LogStream] }
type FfiConverterTypeLspInformation ¶
type FfiConverterTypeLspInformation struct{}
type FfiConverterTypeMessageSuccessActionData ¶
type FfiConverterTypeMessageSuccessActionData struct{}
type FfiConverterTypeMetadataItem ¶
type FfiConverterTypeMetadataItem struct{}
type FfiConverterTypeNetwork ¶
type FfiConverterTypeNetwork struct{}
type FfiConverterTypeNodeConfig ¶
type FfiConverterTypeNodeConfig struct{}
type FfiConverterTypeNodeState ¶
type FfiConverterTypeNodeState struct{}
type FfiConverterTypePayment ¶
type FfiConverterTypePayment struct{}
type FfiConverterTypePaymentDetails ¶
type FfiConverterTypePaymentDetails struct{}
type FfiConverterTypePaymentFailedData ¶
type FfiConverterTypePaymentFailedData struct{}
type FfiConverterTypePaymentType ¶
type FfiConverterTypePaymentType struct{}
type FfiConverterTypePaymentTypeFilter ¶
type FfiConverterTypePaymentTypeFilter struct{}
type FfiConverterTypeRate ¶
type FfiConverterTypeRate struct{}
type FfiConverterTypeRecommendedFees ¶
type FfiConverterTypeRecommendedFees struct{}
type FfiConverterTypeReverseSwapInfo ¶
type FfiConverterTypeReverseSwapInfo struct{}
type FfiConverterTypeReverseSwapPairInfo ¶
type FfiConverterTypeReverseSwapPairInfo struct{}
type FfiConverterTypeReverseSwapStatus ¶
type FfiConverterTypeReverseSwapStatus struct{}
type FfiConverterTypeRouteHint ¶
type FfiConverterTypeRouteHint struct{}
type FfiConverterTypeRouteHintHop ¶
type FfiConverterTypeRouteHintHop struct{}
type FfiConverterTypeSdkError ¶
type FfiConverterTypeSdkError struct{}
type FfiConverterTypeSuccessActionProcessed ¶
type FfiConverterTypeSuccessActionProcessed struct{}
type FfiConverterTypeSwapInfo ¶
type FfiConverterTypeSwapInfo struct{}
type FfiConverterTypeSwapStatus ¶
type FfiConverterTypeSwapStatus struct{}
type FfiConverterTypeSymbol ¶
type FfiConverterTypeSymbol struct{}
type FfiConverterTypeUnspentTransactionOutput ¶
type FfiConverterTypeUnspentTransactionOutput struct{}
type FfiConverterTypeUrlSuccessActionData ¶
type FfiConverterTypeUrlSuccessActionData struct{}
type FfiConverterbool ¶
type FfiConverterbool struct{}
type FfiConverterfloat64 ¶
type FfiConverterfloat64 struct{}
type FfiConverterint32 ¶
type FfiConverterint32 struct{}
type FfiConverterint64 ¶
type FfiConverterint64 struct{}
type FfiConverterstring ¶
type FfiConverterstring struct{}
type FfiConverteruint16 ¶
type FfiConverteruint16 struct{}
type FfiConverteruint32 ¶
type FfiConverteruint32 struct{}
type FfiConverteruint64 ¶
type FfiConverteruint64 struct{}
type FfiConverteruint8 ¶
type FfiConverteruint8 struct{}
type FfiDestroyerBlockingBreezServices ¶
type FfiDestroyerBlockingBreezServices struct{}
type FfiDestroyerOptionalSequenceTypeLocaleOverrides ¶
type FfiDestroyerOptionalSequenceTypeLocaleOverrides struct{}
type FfiDestroyerOptionalSequenceTypeLocalizedName ¶
type FfiDestroyerOptionalSequenceTypeLocalizedName struct{}
type FfiDestroyerOptionalTypeGreenlightCredentials ¶
type FfiDestroyerOptionalTypeGreenlightCredentials struct{}
type FfiDestroyerOptionalTypeLnInvoice ¶
type FfiDestroyerOptionalTypeLnInvoice struct{}
type FfiDestroyerOptionalTypeLspInformation ¶
type FfiDestroyerOptionalTypeLspInformation struct{}
type FfiDestroyerOptionalTypeNodeState ¶
type FfiDestroyerOptionalTypeNodeState struct{}
type FfiDestroyerOptionalTypePayment ¶
type FfiDestroyerOptionalTypePayment struct{}
type FfiDestroyerOptionalTypeSuccessActionProcessed ¶
type FfiDestroyerOptionalTypeSuccessActionProcessed struct{}
type FfiDestroyerOptionalTypeSwapInfo ¶
type FfiDestroyerOptionalTypeSwapInfo struct{}
type FfiDestroyerOptionalTypeSymbol ¶
type FfiDestroyerOptionalTypeSymbol struct{}
type FfiDestroyerOptionalbool ¶
type FfiDestroyerOptionalbool struct{}
type FfiDestroyerOptionalint64 ¶
type FfiDestroyerOptionalint64 struct{}
type FfiDestroyerOptionalstring ¶
type FfiDestroyerOptionalstring struct{}
type FfiDestroyerOptionaluint32 ¶
type FfiDestroyerOptionaluint32 struct{}
type FfiDestroyerOptionaluint64 ¶
type FfiDestroyerOptionaluint64 struct{}
type FfiDestroyerSequenceTypeFiatCurrency ¶
type FfiDestroyerSequenceTypeFiatCurrency struct{}
type FfiDestroyerSequenceTypeLocaleOverrides ¶
type FfiDestroyerSequenceTypeLocaleOverrides struct{}
type FfiDestroyerSequenceTypeLocalizedName ¶
type FfiDestroyerSequenceTypeLocalizedName struct{}
type FfiDestroyerSequenceTypeLspInformation ¶
type FfiDestroyerSequenceTypeLspInformation struct{}
type FfiDestroyerSequenceTypePayment ¶
type FfiDestroyerSequenceTypePayment struct{}
type FfiDestroyerSequenceTypeRate ¶
type FfiDestroyerSequenceTypeRate struct{}
type FfiDestroyerSequenceTypeReverseSwapInfo ¶
type FfiDestroyerSequenceTypeReverseSwapInfo struct{}
type FfiDestroyerSequenceTypeRouteHint ¶
type FfiDestroyerSequenceTypeRouteHint struct{}
type FfiDestroyerSequenceTypeRouteHintHop ¶
type FfiDestroyerSequenceTypeRouteHintHop struct{}
type FfiDestroyerSequenceTypeSwapInfo ¶
type FfiDestroyerSequenceTypeSwapInfo struct{}
type FfiDestroyerSequenceTypeUnspentTransactionOutput ¶
type FfiDestroyerSequenceTypeUnspentTransactionOutput struct{}
type FfiDestroyerSequencestring ¶
type FfiDestroyerSequencestring struct{}
type FfiDestroyerSequenceuint8 ¶
type FfiDestroyerSequenceuint8 struct{}
type FfiDestroyerTypeAesSuccessActionDataDecrypted ¶
type FfiDestroyerTypeAesSuccessActionDataDecrypted struct{}
type FfiDestroyerTypeBackupFailedData ¶
type FfiDestroyerTypeBackupFailedData struct{}
type FfiDestroyerTypeBackupStatus ¶
type FfiDestroyerTypeBackupStatus struct{}
type FfiDestroyerTypeBitcoinAddressData ¶
type FfiDestroyerTypeBitcoinAddressData struct{}
type FfiDestroyerTypeBreezEvent ¶
type FfiDestroyerTypeBreezEvent struct{}
type FfiDestroyerTypeBuyBitcoinProvider ¶
type FfiDestroyerTypeBuyBitcoinProvider struct{}
type FfiDestroyerTypeChannelState ¶
type FfiDestroyerTypeChannelState struct{}
type FfiDestroyerTypeClosedChannelPaymentDetails ¶
type FfiDestroyerTypeClosedChannelPaymentDetails struct{}
type FfiDestroyerTypeConfig ¶
type FfiDestroyerTypeConfig struct{}
type FfiDestroyerTypeCurrencyInfo ¶
type FfiDestroyerTypeCurrencyInfo struct{}
type FfiDestroyerTypeEnvironmentType ¶
type FfiDestroyerTypeEnvironmentType struct{}
type FfiDestroyerTypeEventListener ¶
type FfiDestroyerTypeEventListener struct{}
type FfiDestroyerTypeFeeratePreset ¶
type FfiDestroyerTypeFeeratePreset struct{}
type FfiDestroyerTypeFiatCurrency ¶
type FfiDestroyerTypeFiatCurrency struct{}
type FfiDestroyerTypeGreenlightCredentials ¶
type FfiDestroyerTypeGreenlightCredentials struct{}
type FfiDestroyerTypeGreenlightNodeConfig ¶
type FfiDestroyerTypeGreenlightNodeConfig struct{}
type FfiDestroyerTypeInputType ¶
type FfiDestroyerTypeInputType struct{}
type FfiDestroyerTypeInvoicePaidDetails ¶
type FfiDestroyerTypeInvoicePaidDetails struct{}
type FfiDestroyerTypeLnInvoice ¶
type FfiDestroyerTypeLnInvoice struct{}
type FfiDestroyerTypeLnPaymentDetails ¶
type FfiDestroyerTypeLnPaymentDetails struct{}
type FfiDestroyerTypeLnUrlAuthRequestData ¶
type FfiDestroyerTypeLnUrlAuthRequestData struct{}
type FfiDestroyerTypeLnUrlCallbackStatus ¶
type FfiDestroyerTypeLnUrlCallbackStatus struct{}
type FfiDestroyerTypeLnUrlErrorData ¶
type FfiDestroyerTypeLnUrlErrorData struct{}
type FfiDestroyerTypeLnUrlPayRequestData ¶
type FfiDestroyerTypeLnUrlPayRequestData struct{}
type FfiDestroyerTypeLnUrlPayResult ¶
type FfiDestroyerTypeLnUrlPayResult struct{}
type FfiDestroyerTypeLnUrlWithdrawRequestData ¶
type FfiDestroyerTypeLnUrlWithdrawRequestData struct{}
type FfiDestroyerTypeLocaleOverrides ¶
type FfiDestroyerTypeLocaleOverrides struct{}
type FfiDestroyerTypeLocalizedName ¶
type FfiDestroyerTypeLocalizedName struct{}
type FfiDestroyerTypeLogEntry ¶
type FfiDestroyerTypeLogEntry struct{}
type FfiDestroyerTypeLogStream ¶
type FfiDestroyerTypeLogStream struct{}
type FfiDestroyerTypeLspInformation ¶
type FfiDestroyerTypeLspInformation struct{}
type FfiDestroyerTypeMessageSuccessActionData ¶
type FfiDestroyerTypeMessageSuccessActionData struct{}
type FfiDestroyerTypeMetadataItem ¶
type FfiDestroyerTypeMetadataItem struct{}
type FfiDestroyerTypeNetwork ¶
type FfiDestroyerTypeNetwork struct{}
type FfiDestroyerTypeNodeConfig ¶
type FfiDestroyerTypeNodeConfig struct{}
type FfiDestroyerTypeNodeState ¶
type FfiDestroyerTypeNodeState struct{}
type FfiDestroyerTypePayment ¶
type FfiDestroyerTypePayment struct{}
type FfiDestroyerTypePaymentDetails ¶
type FfiDestroyerTypePaymentDetails struct{}
type FfiDestroyerTypePaymentFailedData ¶
type FfiDestroyerTypePaymentFailedData struct{}
type FfiDestroyerTypePaymentType ¶
type FfiDestroyerTypePaymentType struct{}
type FfiDestroyerTypePaymentTypeFilter ¶
type FfiDestroyerTypePaymentTypeFilter struct{}
type FfiDestroyerTypeRate ¶
type FfiDestroyerTypeRate struct{}
type FfiDestroyerTypeRecommendedFees ¶
type FfiDestroyerTypeRecommendedFees struct{}
type FfiDestroyerTypeReverseSwapInfo ¶
type FfiDestroyerTypeReverseSwapInfo struct{}
type FfiDestroyerTypeReverseSwapPairInfo ¶
type FfiDestroyerTypeReverseSwapPairInfo struct{}
type FfiDestroyerTypeReverseSwapStatus ¶
type FfiDestroyerTypeReverseSwapStatus struct{}
type FfiDestroyerTypeRouteHint ¶
type FfiDestroyerTypeRouteHint struct{}
type FfiDestroyerTypeRouteHintHop ¶
type FfiDestroyerTypeRouteHintHop struct{}
type FfiDestroyerTypeSuccessActionProcessed ¶
type FfiDestroyerTypeSuccessActionProcessed struct{}
type FfiDestroyerTypeSwapInfo ¶
type FfiDestroyerTypeSwapInfo struct{}
type FfiDestroyerTypeSwapStatus ¶
type FfiDestroyerTypeSwapStatus struct{}
type FfiDestroyerTypeSymbol ¶
type FfiDestroyerTypeSymbol struct{}
type FfiDestroyerTypeUnspentTransactionOutput ¶
type FfiDestroyerTypeUnspentTransactionOutput struct{}
type FfiDestroyerTypeUrlSuccessActionData ¶
type FfiDestroyerTypeUrlSuccessActionData struct{}
type FfiDestroyerbool ¶
type FfiDestroyerbool struct{}
type FfiDestroyerfloat64 ¶
type FfiDestroyerfloat64 struct{}
type FfiDestroyerint32 ¶
type FfiDestroyerint32 struct{}
type FfiDestroyerint64 ¶
type FfiDestroyerint64 struct{}
type FfiDestroyerstring ¶
type FfiDestroyerstring struct{}
type FfiDestroyeruint16 ¶
type FfiDestroyeruint16 struct{}
type FfiDestroyeruint32 ¶
type FfiDestroyeruint32 struct{}
type FfiDestroyeruint64 ¶
type FfiDestroyeruint64 struct{}
type FfiDestroyeruint8 ¶
type FfiDestroyeruint8 struct{}
type FiatCurrency ¶
type FiatCurrency struct { Id string Info CurrencyInfo }
func (*FiatCurrency) Destroy ¶
func (r *FiatCurrency) Destroy()
type GreenlightCredentials ¶
func (*GreenlightCredentials) Destroy ¶
func (r *GreenlightCredentials) Destroy()
type GreenlightNodeConfig ¶
type GreenlightNodeConfig struct { PartnerCredentials *GreenlightCredentials InviteCode *string }
func (*GreenlightNodeConfig) Destroy ¶
func (r *GreenlightNodeConfig) Destroy()
type InputTypeBitcoinAddress ¶
type InputTypeBitcoinAddress struct {
Address BitcoinAddressData
}
func (InputTypeBitcoinAddress) Destroy ¶
func (e InputTypeBitcoinAddress) Destroy()
type InputTypeBolt11 ¶
type InputTypeBolt11 struct {
Invoice LnInvoice
}
func (InputTypeBolt11) Destroy ¶
func (e InputTypeBolt11) Destroy()
type InputTypeLnUrlAuth ¶
type InputTypeLnUrlAuth struct {
Data LnUrlAuthRequestData
}
func (InputTypeLnUrlAuth) Destroy ¶
func (e InputTypeLnUrlAuth) Destroy()
type InputTypeLnUrlError ¶
type InputTypeLnUrlError struct {
Data LnUrlErrorData
}
func (InputTypeLnUrlError) Destroy ¶
func (e InputTypeLnUrlError) Destroy()
type InputTypeLnUrlPay ¶
type InputTypeLnUrlPay struct {
Data LnUrlPayRequestData
}
func (InputTypeLnUrlPay) Destroy ¶
func (e InputTypeLnUrlPay) Destroy()
type InputTypeLnUrlWithdraw ¶
type InputTypeLnUrlWithdraw struct {
Data LnUrlWithdrawRequestData
}
func (InputTypeLnUrlWithdraw) Destroy ¶
func (e InputTypeLnUrlWithdraw) Destroy()
type InputTypeNodeId ¶
type InputTypeNodeId struct {
NodeId string
}
func (InputTypeNodeId) Destroy ¶
func (e InputTypeNodeId) Destroy()
type InputTypeUrl ¶
type InputTypeUrl struct {
Url string
}
func (InputTypeUrl) Destroy ¶
func (e InputTypeUrl) Destroy()
type InvoicePaidDetails ¶
func (*InvoicePaidDetails) Destroy ¶
func (r *InvoicePaidDetails) Destroy()
type LnInvoice ¶
type LnInvoice struct { Bolt11 string PayeePubkey string PaymentHash string Description *string DescriptionHash *string AmountMsat *uint64 Timestamp uint64 Expiry uint64 RoutingHints []RouteHint PaymentSecret []uint8 }
func ParseInvoice ¶
type LnPaymentDetails ¶
type LnPaymentDetails struct { PaymentHash string Label string DestinationPubkey string PaymentPreimage string Keysend bool Bolt11 string LnurlSuccessAction *SuccessActionProcessed LnurlMetadata *string LnAddress *string }
func (*LnPaymentDetails) Destroy ¶
func (r *LnPaymentDetails) Destroy()
type LnUrlAuthRequestData ¶
func (*LnUrlAuthRequestData) Destroy ¶
func (r *LnUrlAuthRequestData) Destroy()
type LnUrlCallbackStatus ¶
type LnUrlCallbackStatus interface {
Destroy()
}
type LnUrlCallbackStatusErrorStatus ¶
type LnUrlCallbackStatusErrorStatus struct {
Data LnUrlErrorData
}
func (LnUrlCallbackStatusErrorStatus) Destroy ¶
func (e LnUrlCallbackStatusErrorStatus) Destroy()
type LnUrlCallbackStatusOk ¶
type LnUrlCallbackStatusOk struct { }
func (LnUrlCallbackStatusOk) Destroy ¶
func (e LnUrlCallbackStatusOk) Destroy()
type LnUrlErrorData ¶
type LnUrlErrorData struct {
Reason string
}
func (*LnUrlErrorData) Destroy ¶
func (r *LnUrlErrorData) Destroy()
type LnUrlPayRequestData ¶
type LnUrlPayRequestData struct { Callback string MinSendable uint64 MaxSendable uint64 MetadataStr string CommentAllowed uint16 Domain string LnAddress *string }
func (*LnUrlPayRequestData) Destroy ¶
func (r *LnUrlPayRequestData) Destroy()
type LnUrlPayResult ¶
type LnUrlPayResult interface {
Destroy()
}
type LnUrlPayResultEndpointError ¶
type LnUrlPayResultEndpointError struct {
Data LnUrlErrorData
}
func (LnUrlPayResultEndpointError) Destroy ¶
func (e LnUrlPayResultEndpointError) Destroy()
type LnUrlPayResultEndpointSuccess ¶
type LnUrlPayResultEndpointSuccess struct {
Data *SuccessActionProcessed
}
func (LnUrlPayResultEndpointSuccess) Destroy ¶
func (e LnUrlPayResultEndpointSuccess) Destroy()
type LnUrlWithdrawRequestData ¶
type LnUrlWithdrawRequestData struct { Callback string K1 string DefaultDescription string MinWithdrawable uint64 MaxWithdrawable uint64 }
func (*LnUrlWithdrawRequestData) Destroy ¶
func (r *LnUrlWithdrawRequestData) Destroy()
type LocaleOverrides ¶
func (*LocaleOverrides) Destroy ¶
func (r *LocaleOverrides) Destroy()
type LocalizedName ¶
func (*LocalizedName) Destroy ¶
func (r *LocalizedName) Destroy()
type LogStream ¶
type LogStream interface {
Log(l LogEntry)
}
Declaration and FfiConverters for LogStream Callback Interface
type LspInformation ¶
type LspInformation struct { Id string Name string WidgetUrl string Pubkey string Host string ChannelCapacity int64 TargetConf int32 BaseFeeMsat int64 FeeRate float64 TimeLockDelta uint32 MinHtlcMsat int64 ChannelFeePermyriad int64 LspPubkey []uint8 MaxInactiveDuration int64 ChannelMinimumFeeMsat int64 }
func (*LspInformation) Destroy ¶
func (r *LspInformation) Destroy()
type MessageSuccessActionData ¶
type MessageSuccessActionData struct {
Message string
}
func (*MessageSuccessActionData) Destroy ¶
func (r *MessageSuccessActionData) Destroy()
type MetadataItem ¶
func (*MetadataItem) Destroy ¶
func (r *MetadataItem) Destroy()
type NodeConfig ¶
type NodeConfig interface {
Destroy()
}
type NodeConfigGreenlight ¶
type NodeConfigGreenlight struct {
Config GreenlightNodeConfig
}
func (NodeConfigGreenlight) Destroy ¶
func (e NodeConfigGreenlight) Destroy()
type NodeState ¶
type NodeState struct { Id string BlockHeight uint32 ChannelsBalanceMsat uint64 OnchainBalanceMsat uint64 Utxos []UnspentTransactionOutput MaxPayableMsat uint64 MaxReceivableMsat uint64 MaxSinglePaymentAmountMsat uint64 MaxChanReserveMsats uint64 ConnectedPeers []string InboundLiquidityMsats uint64 }
type Payment ¶
type Payment struct { Id string PaymentType PaymentType PaymentTime int64 AmountMsat uint64 FeeMsat uint64 Pending bool Description *string Details PaymentDetails }
type PaymentDetails ¶
type PaymentDetails interface {
Destroy()
}
type PaymentDetailsClosedChannel ¶
type PaymentDetailsClosedChannel struct {
Data ClosedChannelPaymentDetails
}
func (PaymentDetailsClosedChannel) Destroy ¶
func (e PaymentDetailsClosedChannel) Destroy()
type PaymentDetailsLn ¶
type PaymentDetailsLn struct {
Data LnPaymentDetails
}
func (PaymentDetailsLn) Destroy ¶
func (e PaymentDetailsLn) Destroy()
type PaymentFailedData ¶
func (*PaymentFailedData) Destroy ¶
func (r *PaymentFailedData) Destroy()
type PaymentType ¶
type PaymentType uint
const ( PaymentTypeSent PaymentType = 1 PaymentTypeReceived PaymentType = 2 PaymentTypeClosedChannel PaymentType = 3 )
type PaymentTypeFilter ¶
type PaymentTypeFilter uint
const ( PaymentTypeFilterSent PaymentTypeFilter = 1 PaymentTypeFilterReceived PaymentTypeFilter = 2 PaymentTypeFilterAll PaymentTypeFilter = 3 )
type RecommendedFees ¶
type RecommendedFees struct { FastestFee uint64 HalfHourFee uint64 HourFee uint64 EconomyFee uint64 MinimumFee uint64 }
func (*RecommendedFees) Destroy ¶
func (r *RecommendedFees) Destroy()
type ReverseSwapInfo ¶
type ReverseSwapInfo struct { Id string ClaimPubkey string OnchainAmountSat uint64 Status ReverseSwapStatus }
func (*ReverseSwapInfo) Destroy ¶
func (r *ReverseSwapInfo) Destroy()
type ReverseSwapPairInfo ¶
type ReverseSwapPairInfo struct { Min uint64 Max uint64 FeesHash string FeesPercentage float64 FeesLockup uint64 FeesClaim uint64 }
func (*ReverseSwapPairInfo) Destroy ¶
func (r *ReverseSwapPairInfo) Destroy()
type ReverseSwapStatus ¶
type ReverseSwapStatus uint
const ( ReverseSwapStatusInitial ReverseSwapStatus = 1 ReverseSwapStatusInProgress ReverseSwapStatus = 2 ReverseSwapStatusCancelled ReverseSwapStatus = 3 ReverseSwapStatusCompletedSeen ReverseSwapStatus = 4 ReverseSwapStatusCompletedConfirmed ReverseSwapStatus = 5 )
type RouteHint ¶
type RouteHint struct {
Hops []RouteHintHop
}
type RouteHintHop ¶
type RouteHintHop struct { SrcNodeId string ShortChannelId uint64 FeesBaseMsat uint32 FeesProportionalMillionths uint32 CltvExpiryDelta uint64 HtlcMinimumMsat *uint64 HtlcMaximumMsat *uint64 }
func (*RouteHintHop) Destroy ¶
func (r *RouteHintHop) Destroy()
type SdkError ¶
type SdkError struct {
// contains filtered or unexported fields
}
func NewSdkErrorError ¶
func NewSdkErrorError() *SdkError
type SdkErrorError ¶
type SdkErrorError struct {
// contains filtered or unexported fields
}
Variant structs
func (SdkErrorError) Error ¶
func (err SdkErrorError) Error() string
func (SdkErrorError) Is ¶
func (self SdkErrorError) Is(target error) bool
type SuccessActionProcessed ¶
type SuccessActionProcessed interface {
Destroy()
}
type SuccessActionProcessedAes ¶
type SuccessActionProcessedAes struct {
Data AesSuccessActionDataDecrypted
}
func (SuccessActionProcessedAes) Destroy ¶
func (e SuccessActionProcessedAes) Destroy()
type SuccessActionProcessedMessage ¶
type SuccessActionProcessedMessage struct {
Data MessageSuccessActionData
}
func (SuccessActionProcessedMessage) Destroy ¶
func (e SuccessActionProcessedMessage) Destroy()
type SuccessActionProcessedUrl ¶
type SuccessActionProcessedUrl struct {
Data UrlSuccessActionData
}
func (SuccessActionProcessedUrl) Destroy ¶
func (e SuccessActionProcessedUrl) Destroy()
type SwapInfo ¶
type SwapInfo struct { BitcoinAddress string CreatedAt int64 LockHeight int64 PaymentHash []uint8 Preimage []uint8 PrivateKey []uint8 PublicKey []uint8 SwapperPublicKey []uint8 Script []uint8 Bolt11 *string PaidSats uint64 UnconfirmedSats uint64 ConfirmedSats uint64 Status SwapStatus RefundTxIds []string UnconfirmedTxIds []string ConfirmedTxIds []string MinAllowedDeposit int64 MaxAllowedDeposit int64 LastRedeemError *string }
type SwapStatus ¶
type SwapStatus uint
const ( SwapStatusInitial SwapStatus = 1 SwapStatusExpired SwapStatus = 2 )
type UnspentTransactionOutput ¶
type UnspentTransactionOutput struct { Txid []uint8 Outnum uint32 AmountMillisatoshi uint64 Address string Reserved bool ReservedToBlock uint32 }
func (*UnspentTransactionOutput) Destroy ¶
func (r *UnspentTransactionOutput) Destroy()
type UrlSuccessActionData ¶
func (*UrlSuccessActionData) Destroy ¶
func (r *UrlSuccessActionData) Destroy()
Directories
¶
Path | Synopsis |
---|---|
See https://github.com/golang/go/issues/26366.
|
See https://github.com/golang/go/issues/26366. |
darwin-aarch64
See https://github.com/golang/go/issues/26366.
|
See https://github.com/golang/go/issues/26366. |
darwin-amd64
See https://github.com/golang/go/issues/26366.
|
See https://github.com/golang/go/issues/26366. |
linux-aarch64
See https://github.com/golang/go/issues/26366.
|
See https://github.com/golang/go/issues/26366. |
linux-amd64
See https://github.com/golang/go/issues/26366.
|
See https://github.com/golang/go/issues/26366. |
windows-amd64
See https://github.com/golang/go/issues/26366.
|
See https://github.com/golang/go/issues/26366. |
Click to show internal directories.
Click to hide internal directories.