Documentation
¶
Index ¶
- type AmpSubInvoice
- type AmpSubInvoiceHtlc
- type Channel
- type ChannelExtraType
- type ChannelFeature
- type CreateChannelExtraTypeParams
- type CreateChannelParams
- type DBTX
- type DeleteExtraNodeTypeParams
- type DeleteInvoiceParams
- type DeleteNodeByPubKeyParams
- type DeleteNodeFeatureParams
- type FetchAMPSubInvoiceHTLCsParams
- type FetchAMPSubInvoiceHTLCsRow
- type FetchAMPSubInvoicesParams
- type FetchSettledAMPSubInvoicesParams
- type FetchSettledAMPSubInvoicesRow
- type FilterInvoicesParams
- type GetChannelBySCIDParams
- type GetInvoiceHTLCCustomRecordsRow
- type GetInvoiceParams
- type GetNodeAddressesByPubKeyParams
- type GetNodeAddressesByPubKeyRow
- type GetNodeByPubKeyParams
- type GetNodeFeaturesByPubKeyParams
- type GetNodesByLastUpdateRangeParams
- type GetSourceNodesByVersionRow
- type InsertAMPSubInvoiceHTLCParams
- type InsertAMPSubInvoiceParams
- type InsertChannelFeatureParams
- type InsertInvoiceFeatureParams
- type InsertInvoiceHTLCCustomRecordParams
- type InsertInvoiceHTLCParams
- type InsertInvoiceParams
- type InsertKVInvoiceKeyAndAddIndexParams
- type InsertMigratedInvoiceParams
- type InsertNodeAddressParams
- type InsertNodeFeatureParams
- type Invoice
- type InvoiceEvent
- type InvoiceEventType
- type InvoiceFeature
- type InvoiceHtlc
- type InvoiceHtlcCustomRecord
- type InvoicePaymentHash
- type InvoiceSequence
- type MigrationTracker
- type Node
- type NodeAddress
- type NodeExtraType
- type NodeFeature
- type OnAMPSubInvoiceCanceledParams
- type OnAMPSubInvoiceCreatedParams
- type OnAMPSubInvoiceSettledParams
- type OnInvoiceCanceledParams
- type OnInvoiceCreatedParams
- type OnInvoiceSettledParams
- type Querier
- type Queries
- func (q *Queries) AddSourceNode(ctx context.Context, nodeID int64) error
- func (q *Queries) ClearKVInvoiceHashIndex(ctx context.Context) error
- func (q *Queries) CreateChannel(ctx context.Context, arg CreateChannelParams) (int64, error)
- func (q *Queries) CreateChannelExtraType(ctx context.Context, arg CreateChannelExtraTypeParams) error
- func (q *Queries) DeleteCanceledInvoices(ctx context.Context) (sql.Result, error)
- func (q *Queries) DeleteExtraNodeType(ctx context.Context, arg DeleteExtraNodeTypeParams) error
- func (q *Queries) DeleteInvoice(ctx context.Context, arg DeleteInvoiceParams) (sql.Result, error)
- func (q *Queries) DeleteNodeAddresses(ctx context.Context, nodeID int64) error
- func (q *Queries) DeleteNodeByPubKey(ctx context.Context, arg DeleteNodeByPubKeyParams) (sql.Result, error)
- func (q *Queries) DeleteNodeFeature(ctx context.Context, arg DeleteNodeFeatureParams) error
- func (q *Queries) FetchAMPSubInvoiceHTLCs(ctx context.Context, arg FetchAMPSubInvoiceHTLCsParams) ([]FetchAMPSubInvoiceHTLCsRow, error)
- func (q *Queries) FetchAMPSubInvoices(ctx context.Context, arg FetchAMPSubInvoicesParams) ([]AmpSubInvoice, error)
- func (q *Queries) FetchSettledAMPSubInvoices(ctx context.Context, arg FetchSettledAMPSubInvoicesParams) ([]FetchSettledAMPSubInvoicesRow, error)
- func (q *Queries) FilterInvoices(ctx context.Context, arg FilterInvoicesParams) ([]Invoice, error)
- func (q *Queries) GetAMPInvoiceID(ctx context.Context, setID []byte) (int64, error)
- func (q *Queries) GetChannelBySCID(ctx context.Context, arg GetChannelBySCIDParams) (Channel, error)
- func (q *Queries) GetDatabaseVersion(ctx context.Context) (int32, error)
- func (q *Queries) GetExtraNodeTypes(ctx context.Context, nodeID int64) ([]NodeExtraType, error)
- func (q *Queries) GetInvoice(ctx context.Context, arg GetInvoiceParams) ([]Invoice, error)
- func (q *Queries) GetInvoiceByHash(ctx context.Context, hash []byte) (Invoice, error)
- func (q *Queries) GetInvoiceBySetID(ctx context.Context, setID []byte) ([]Invoice, error)
- func (q *Queries) GetInvoiceFeatures(ctx context.Context, invoiceID int64) ([]InvoiceFeature, error)
- func (q *Queries) GetInvoiceHTLCCustomRecords(ctx context.Context, invoiceID int64) ([]GetInvoiceHTLCCustomRecordsRow, error)
- func (q *Queries) GetInvoiceHTLCs(ctx context.Context, invoiceID int64) ([]InvoiceHtlc, error)
- func (q *Queries) GetKVInvoicePaymentHashByAddIndex(ctx context.Context, addIndex int64) ([]byte, error)
- func (q *Queries) GetMigration(ctx context.Context, version int32) (time.Time, error)
- func (q *Queries) GetNodeAddressesByPubKey(ctx context.Context, arg GetNodeAddressesByPubKeyParams) ([]GetNodeAddressesByPubKeyRow, error)
- func (q *Queries) GetNodeByPubKey(ctx context.Context, arg GetNodeByPubKeyParams) (Node, error)
- func (q *Queries) GetNodeFeatures(ctx context.Context, nodeID int64) ([]NodeFeature, error)
- func (q *Queries) GetNodeFeaturesByPubKey(ctx context.Context, arg GetNodeFeaturesByPubKeyParams) ([]int32, error)
- func (q *Queries) GetNodesByLastUpdateRange(ctx context.Context, arg GetNodesByLastUpdateRangeParams) ([]Node, error)
- func (q *Queries) GetSourceNodesByVersion(ctx context.Context, version int16) ([]GetSourceNodesByVersionRow, error)
- func (q *Queries) HighestSCID(ctx context.Context, version int16) ([]byte, error)
- func (q *Queries) InsertAMPSubInvoice(ctx context.Context, arg InsertAMPSubInvoiceParams) error
- func (q *Queries) InsertAMPSubInvoiceHTLC(ctx context.Context, arg InsertAMPSubInvoiceHTLCParams) error
- func (q *Queries) InsertChannelFeature(ctx context.Context, arg InsertChannelFeatureParams) error
- func (q *Queries) InsertInvoice(ctx context.Context, arg InsertInvoiceParams) (int64, error)
- func (q *Queries) InsertInvoiceFeature(ctx context.Context, arg InsertInvoiceFeatureParams) error
- func (q *Queries) InsertInvoiceHTLC(ctx context.Context, arg InsertInvoiceHTLCParams) (int64, error)
- func (q *Queries) InsertInvoiceHTLCCustomRecord(ctx context.Context, arg InsertInvoiceHTLCCustomRecordParams) error
- func (q *Queries) InsertKVInvoiceKeyAndAddIndex(ctx context.Context, arg InsertKVInvoiceKeyAndAddIndexParams) error
- func (q *Queries) InsertMigratedInvoice(ctx context.Context, arg InsertMigratedInvoiceParams) (int64, error)
- func (q *Queries) InsertNodeAddress(ctx context.Context, arg InsertNodeAddressParams) error
- func (q *Queries) InsertNodeFeature(ctx context.Context, arg InsertNodeFeatureParams) error
- func (q *Queries) NextInvoiceSettleIndex(ctx context.Context) (int64, error)
- func (q *Queries) OnAMPSubInvoiceCanceled(ctx context.Context, arg OnAMPSubInvoiceCanceledParams) error
- func (q *Queries) OnAMPSubInvoiceCreated(ctx context.Context, arg OnAMPSubInvoiceCreatedParams) error
- func (q *Queries) OnAMPSubInvoiceSettled(ctx context.Context, arg OnAMPSubInvoiceSettledParams) error
- func (q *Queries) OnInvoiceCanceled(ctx context.Context, arg OnInvoiceCanceledParams) error
- func (q *Queries) OnInvoiceCreated(ctx context.Context, arg OnInvoiceCreatedParams) error
- func (q *Queries) OnInvoiceSettled(ctx context.Context, arg OnInvoiceSettledParams) error
- func (q *Queries) SetKVInvoicePaymentHash(ctx context.Context, arg SetKVInvoicePaymentHashParams) error
- func (q *Queries) SetMigration(ctx context.Context, arg SetMigrationParams) error
- func (q *Queries) UpdateAMPSubInvoiceHTLCPreimage(ctx context.Context, arg UpdateAMPSubInvoiceHTLCPreimageParams) (sql.Result, error)
- func (q *Queries) UpdateAMPSubInvoiceState(ctx context.Context, arg UpdateAMPSubInvoiceStateParams) error
- func (q *Queries) UpdateInvoiceAmountPaid(ctx context.Context, arg UpdateInvoiceAmountPaidParams) (sql.Result, error)
- func (q *Queries) UpdateInvoiceHTLC(ctx context.Context, arg UpdateInvoiceHTLCParams) error
- func (q *Queries) UpdateInvoiceHTLCs(ctx context.Context, arg UpdateInvoiceHTLCsParams) error
- func (q *Queries) UpdateInvoiceState(ctx context.Context, arg UpdateInvoiceStateParams) (sql.Result, error)
- func (q *Queries) UpsertAMPSubInvoice(ctx context.Context, arg UpsertAMPSubInvoiceParams) (sql.Result, error)
- func (q *Queries) UpsertNode(ctx context.Context, arg UpsertNodeParams) (int64, error)
- func (q *Queries) UpsertNodeExtraType(ctx context.Context, arg UpsertNodeExtraTypeParams) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type SetKVInvoicePaymentHashParams
- type SetMigrationParams
- type SourceNode
- type UpdateAMPSubInvoiceHTLCPreimageParams
- type UpdateAMPSubInvoiceStateParams
- type UpdateInvoiceAmountPaidParams
- type UpdateInvoiceHTLCParams
- type UpdateInvoiceHTLCsParams
- type UpdateInvoiceStateParams
- type UpsertAMPSubInvoiceParams
- type UpsertNodeExtraTypeParams
- type UpsertNodeParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmpSubInvoice ¶
type AmpSubInvoiceHtlc ¶
type ChannelExtraType ¶ added in v1.0.10
type ChannelFeature ¶ added in v1.0.10
type CreateChannelExtraTypeParams ¶ added in v1.0.10
type CreateChannelParams ¶ added in v1.0.10
type DeleteExtraNodeTypeParams ¶ added in v1.0.10
type DeleteInvoiceParams ¶
type DeleteNodeByPubKeyParams ¶ added in v1.0.10
type DeleteNodeFeatureParams ¶ added in v1.0.10
type FetchSettledAMPSubInvoicesRow ¶
type FetchSettledAMPSubInvoicesRow struct {
SetID []byte
AmpSettleIndex sql.NullInt64
AmpSettledAt sql.NullTime
ID int64
Hash []byte
Preimage []byte
SettleIndex sql.NullInt64
SettledAt sql.NullTime
Memo sql.NullString
AmountMsat int64
CltvDelta sql.NullInt32
Expiry int32
PaymentAddr []byte
PaymentRequest sql.NullString
PaymentRequestHash []byte
State int16
AmountPaidMsat int64
IsAmp bool
IsHodl bool
IsKeysend bool
CreatedAt time.Time
}
type FilterInvoicesParams ¶
type GetChannelBySCIDParams ¶ added in v1.0.10
type GetInvoiceParams ¶
type GetNodeAddressesByPubKeyParams ¶ added in v1.0.10
type GetNodeAddressesByPubKeyRow ¶ added in v1.0.10
type GetNodeAddressesByPubKeyRow struct {
Type sql.NullInt16
Address sql.NullString
}
type GetNodeByPubKeyParams ¶ added in v1.0.10
type GetNodeFeaturesByPubKeyParams ¶ added in v1.0.10
type GetNodesByLastUpdateRangeParams ¶ added in v1.0.10
type GetSourceNodesByVersionRow ¶ added in v1.0.10
type InsertAMPSubInvoiceParams ¶ added in v1.0.7
type InsertChannelFeatureParams ¶ added in v1.0.10
type InsertInvoiceHTLCParams ¶
type InsertInvoiceParams ¶
type InsertInvoiceParams struct {
Hash []byte
Preimage []byte
Memo sql.NullString
AmountMsat int64
CltvDelta sql.NullInt32
Expiry int32
PaymentAddr []byte
PaymentRequest sql.NullString
PaymentRequestHash []byte
State int16
AmountPaidMsat int64
IsAmp bool
IsHodl bool
IsKeysend bool
CreatedAt time.Time
}
type InsertKVInvoiceKeyAndAddIndexParams ¶ added in v1.0.7
type InsertMigratedInvoiceParams ¶ added in v1.0.7
type InsertMigratedInvoiceParams struct {
Hash []byte
Preimage []byte
SettleIndex sql.NullInt64
SettledAt sql.NullTime
Memo sql.NullString
AmountMsat int64
CltvDelta sql.NullInt32
Expiry int32
PaymentAddr []byte
PaymentRequest sql.NullString
PaymentRequestHash []byte
State int16
AmountPaidMsat int64
IsAmp bool
IsHodl bool
IsKeysend bool
CreatedAt time.Time
}
type InsertNodeAddressParams ¶ added in v1.0.10
type InsertNodeFeatureParams ¶ added in v1.0.10
type Invoice ¶
type Invoice struct {
ID int64
Hash []byte
Preimage []byte
SettleIndex sql.NullInt64
SettledAt sql.NullTime
Memo sql.NullString
AmountMsat int64
CltvDelta sql.NullInt32
Expiry int32
PaymentAddr []byte
PaymentRequest sql.NullString
PaymentRequestHash []byte
State int16
AmountPaidMsat int64
IsAmp bool
IsHodl bool
IsKeysend bool
CreatedAt time.Time
}
type InvoiceEvent ¶
type InvoiceEventType ¶
type InvoiceFeature ¶
type InvoiceHtlc ¶
type InvoiceHtlcCustomRecord ¶
type InvoicePaymentHash ¶ added in v1.0.7
type InvoiceSequence ¶
type MigrationTracker ¶ added in v1.0.7
type Node ¶ added in v1.0.10
type Node struct {
ID int64
Version int16
PubKey []byte
Alias sql.NullString
LastUpdate sql.NullInt64
Color sql.NullString
Signature []byte
}
type NodeAddress ¶ added in v1.0.10
type NodeExtraType ¶ added in v1.0.10
type NodeFeature ¶ added in v1.0.10
type OnInvoiceCanceledParams ¶
type OnInvoiceCreatedParams ¶
type OnInvoiceSettledParams ¶
type Querier ¶
type Querier interface {
AddSourceNode(ctx context.Context, nodeID int64) error
ClearKVInvoiceHashIndex(ctx context.Context) error
CreateChannel(ctx context.Context, arg CreateChannelParams) (int64, error)
CreateChannelExtraType(ctx context.Context, arg CreateChannelExtraTypeParams) error
DeleteCanceledInvoices(ctx context.Context) (sql.Result, error)
DeleteExtraNodeType(ctx context.Context, arg DeleteExtraNodeTypeParams) error
DeleteInvoice(ctx context.Context, arg DeleteInvoiceParams) (sql.Result, error)
DeleteNodeAddresses(ctx context.Context, nodeID int64) error
DeleteNodeByPubKey(ctx context.Context, arg DeleteNodeByPubKeyParams) (sql.Result, error)
DeleteNodeFeature(ctx context.Context, arg DeleteNodeFeatureParams) error
FetchAMPSubInvoiceHTLCs(ctx context.Context, arg FetchAMPSubInvoiceHTLCsParams) ([]FetchAMPSubInvoiceHTLCsRow, error)
FetchAMPSubInvoices(ctx context.Context, arg FetchAMPSubInvoicesParams) ([]AmpSubInvoice, error)
FetchSettledAMPSubInvoices(ctx context.Context, arg FetchSettledAMPSubInvoicesParams) ([]FetchSettledAMPSubInvoicesRow, error)
FilterInvoices(ctx context.Context, arg FilterInvoicesParams) ([]Invoice, error)
GetAMPInvoiceID(ctx context.Context, setID []byte) (int64, error)
GetChannelBySCID(ctx context.Context, arg GetChannelBySCIDParams) (Channel, error)
GetDatabaseVersion(ctx context.Context) (int32, error)
GetExtraNodeTypes(ctx context.Context, nodeID int64) ([]NodeExtraType, error)
// This method may return more than one invoice if filter using multiple fields
// from different invoices. It is the caller's responsibility to ensure that
// we bubble up an error in those cases.
GetInvoice(ctx context.Context, arg GetInvoiceParams) ([]Invoice, error)
GetInvoiceByHash(ctx context.Context, hash []byte) (Invoice, error)
GetInvoiceBySetID(ctx context.Context, setID []byte) ([]Invoice, error)
GetInvoiceFeatures(ctx context.Context, invoiceID int64) ([]InvoiceFeature, error)
GetInvoiceHTLCCustomRecords(ctx context.Context, invoiceID int64) ([]GetInvoiceHTLCCustomRecordsRow, error)
GetInvoiceHTLCs(ctx context.Context, invoiceID int64) ([]InvoiceHtlc, error)
GetKVInvoicePaymentHashByAddIndex(ctx context.Context, addIndex int64) ([]byte, error)
GetMigration(ctx context.Context, version int32) (time.Time, error)
GetNodeAddressesByPubKey(ctx context.Context, arg GetNodeAddressesByPubKeyParams) ([]GetNodeAddressesByPubKeyRow, error)
GetNodeByPubKey(ctx context.Context, arg GetNodeByPubKeyParams) (Node, error)
GetNodeFeatures(ctx context.Context, nodeID int64) ([]NodeFeature, error)
GetNodeFeaturesByPubKey(ctx context.Context, arg GetNodeFeaturesByPubKeyParams) ([]int32, error)
GetNodesByLastUpdateRange(ctx context.Context, arg GetNodesByLastUpdateRangeParams) ([]Node, error)
GetSourceNodesByVersion(ctx context.Context, version int16) ([]GetSourceNodesByVersionRow, error)
HighestSCID(ctx context.Context, version int16) ([]byte, error)
InsertAMPSubInvoice(ctx context.Context, arg InsertAMPSubInvoiceParams) error
InsertAMPSubInvoiceHTLC(ctx context.Context, arg InsertAMPSubInvoiceHTLCParams) error
InsertChannelFeature(ctx context.Context, arg InsertChannelFeatureParams) error
InsertInvoice(ctx context.Context, arg InsertInvoiceParams) (int64, error)
InsertInvoiceFeature(ctx context.Context, arg InsertInvoiceFeatureParams) error
InsertInvoiceHTLC(ctx context.Context, arg InsertInvoiceHTLCParams) (int64, error)
InsertInvoiceHTLCCustomRecord(ctx context.Context, arg InsertInvoiceHTLCCustomRecordParams) error
InsertKVInvoiceKeyAndAddIndex(ctx context.Context, arg InsertKVInvoiceKeyAndAddIndexParams) error
InsertMigratedInvoice(ctx context.Context, arg InsertMigratedInvoiceParams) (int64, error)
InsertNodeAddress(ctx context.Context, arg InsertNodeAddressParams) error
InsertNodeFeature(ctx context.Context, arg InsertNodeFeatureParams) error
NextInvoiceSettleIndex(ctx context.Context) (int64, error)
OnAMPSubInvoiceCanceled(ctx context.Context, arg OnAMPSubInvoiceCanceledParams) error
OnAMPSubInvoiceCreated(ctx context.Context, arg OnAMPSubInvoiceCreatedParams) error
OnAMPSubInvoiceSettled(ctx context.Context, arg OnAMPSubInvoiceSettledParams) error
OnInvoiceCanceled(ctx context.Context, arg OnInvoiceCanceledParams) error
OnInvoiceCreated(ctx context.Context, arg OnInvoiceCreatedParams) error
OnInvoiceSettled(ctx context.Context, arg OnInvoiceSettledParams) error
SetKVInvoicePaymentHash(ctx context.Context, arg SetKVInvoicePaymentHashParams) error
SetMigration(ctx context.Context, arg SetMigrationParams) error
UpdateAMPSubInvoiceHTLCPreimage(ctx context.Context, arg UpdateAMPSubInvoiceHTLCPreimageParams) (sql.Result, error)
UpdateAMPSubInvoiceState(ctx context.Context, arg UpdateAMPSubInvoiceStateParams) error
UpdateInvoiceAmountPaid(ctx context.Context, arg UpdateInvoiceAmountPaidParams) (sql.Result, error)
UpdateInvoiceHTLC(ctx context.Context, arg UpdateInvoiceHTLCParams) error
UpdateInvoiceHTLCs(ctx context.Context, arg UpdateInvoiceHTLCsParams) error
UpdateInvoiceState(ctx context.Context, arg UpdateInvoiceStateParams) (sql.Result, error)
UpsertAMPSubInvoice(ctx context.Context, arg UpsertAMPSubInvoiceParams) (sql.Result, error)
UpsertNode(ctx context.Context, arg UpsertNodeParams) (int64, error)
UpsertNodeExtraType(ctx context.Context, arg UpsertNodeExtraTypeParams) error
}
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AddSourceNode ¶ added in v1.0.10
func (*Queries) ClearKVInvoiceHashIndex ¶ added in v1.0.7
func (*Queries) CreateChannel ¶ added in v1.0.10
func (*Queries) CreateChannelExtraType ¶ added in v1.0.10
func (q *Queries) CreateChannelExtraType(ctx context.Context, arg CreateChannelExtraTypeParams) error
func (*Queries) DeleteCanceledInvoices ¶
func (*Queries) DeleteExtraNodeType ¶ added in v1.0.10
func (q *Queries) DeleteExtraNodeType(ctx context.Context, arg DeleteExtraNodeTypeParams) error
func (*Queries) DeleteInvoice ¶
func (*Queries) DeleteNodeAddresses ¶ added in v1.0.10
func (*Queries) DeleteNodeByPubKey ¶ added in v1.0.10
func (*Queries) DeleteNodeFeature ¶ added in v1.0.10
func (q *Queries) DeleteNodeFeature(ctx context.Context, arg DeleteNodeFeatureParams) error
func (*Queries) FetchAMPSubInvoiceHTLCs ¶
func (q *Queries) FetchAMPSubInvoiceHTLCs(ctx context.Context, arg FetchAMPSubInvoiceHTLCsParams) ([]FetchAMPSubInvoiceHTLCsRow, error)
func (*Queries) FetchAMPSubInvoices ¶
func (q *Queries) FetchAMPSubInvoices(ctx context.Context, arg FetchAMPSubInvoicesParams) ([]AmpSubInvoice, error)
func (*Queries) FetchSettledAMPSubInvoices ¶
func (q *Queries) FetchSettledAMPSubInvoices(ctx context.Context, arg FetchSettledAMPSubInvoicesParams) ([]FetchSettledAMPSubInvoicesRow, error)
func (*Queries) FilterInvoices ¶
func (*Queries) GetAMPInvoiceID ¶
func (*Queries) GetChannelBySCID ¶ added in v1.0.10
func (*Queries) GetDatabaseVersion ¶ added in v1.0.7
func (*Queries) GetExtraNodeTypes ¶ added in v1.0.10
func (*Queries) GetInvoice ¶
This method may return more than one invoice if filter using multiple fields from different invoices. It is the caller's responsibility to ensure that we bubble up an error in those cases.
func (*Queries) GetInvoiceByHash ¶ added in v1.0.7
func (*Queries) GetInvoiceBySetID ¶ added in v1.0.4
func (*Queries) GetInvoiceFeatures ¶
func (*Queries) GetInvoiceHTLCCustomRecords ¶
func (*Queries) GetInvoiceHTLCs ¶
func (*Queries) GetKVInvoicePaymentHashByAddIndex ¶ added in v1.0.7
func (*Queries) GetMigration ¶ added in v1.0.7
func (*Queries) GetNodeAddressesByPubKey ¶ added in v1.0.10
func (q *Queries) GetNodeAddressesByPubKey(ctx context.Context, arg GetNodeAddressesByPubKeyParams) ([]GetNodeAddressesByPubKeyRow, error)
func (*Queries) GetNodeByPubKey ¶ added in v1.0.10
func (*Queries) GetNodeFeatures ¶ added in v1.0.10
func (*Queries) GetNodeFeaturesByPubKey ¶ added in v1.0.10
func (*Queries) GetNodesByLastUpdateRange ¶ added in v1.0.10
func (*Queries) GetSourceNodesByVersion ¶ added in v1.0.10
func (*Queries) HighestSCID ¶ added in v1.0.10
func (*Queries) InsertAMPSubInvoice ¶ added in v1.0.7
func (q *Queries) InsertAMPSubInvoice(ctx context.Context, arg InsertAMPSubInvoiceParams) error
func (*Queries) InsertAMPSubInvoiceHTLC ¶
func (q *Queries) InsertAMPSubInvoiceHTLC(ctx context.Context, arg InsertAMPSubInvoiceHTLCParams) error
func (*Queries) InsertChannelFeature ¶ added in v1.0.10
func (q *Queries) InsertChannelFeature(ctx context.Context, arg InsertChannelFeatureParams) error
func (*Queries) InsertInvoice ¶
func (*Queries) InsertInvoiceFeature ¶
func (q *Queries) InsertInvoiceFeature(ctx context.Context, arg InsertInvoiceFeatureParams) error
func (*Queries) InsertInvoiceHTLC ¶
func (*Queries) InsertInvoiceHTLCCustomRecord ¶
func (q *Queries) InsertInvoiceHTLCCustomRecord(ctx context.Context, arg InsertInvoiceHTLCCustomRecordParams) error
func (*Queries) InsertKVInvoiceKeyAndAddIndex ¶ added in v1.0.7
func (q *Queries) InsertKVInvoiceKeyAndAddIndex(ctx context.Context, arg InsertKVInvoiceKeyAndAddIndexParams) error
func (*Queries) InsertMigratedInvoice ¶ added in v1.0.7
func (*Queries) InsertNodeAddress ¶ added in v1.0.10
func (q *Queries) InsertNodeAddress(ctx context.Context, arg InsertNodeAddressParams) error
func (*Queries) InsertNodeFeature ¶ added in v1.0.10
func (q *Queries) InsertNodeFeature(ctx context.Context, arg InsertNodeFeatureParams) error
func (*Queries) NextInvoiceSettleIndex ¶
func (*Queries) OnAMPSubInvoiceCanceled ¶
func (q *Queries) OnAMPSubInvoiceCanceled(ctx context.Context, arg OnAMPSubInvoiceCanceledParams) error
func (*Queries) OnAMPSubInvoiceCreated ¶
func (q *Queries) OnAMPSubInvoiceCreated(ctx context.Context, arg OnAMPSubInvoiceCreatedParams) error
func (*Queries) OnAMPSubInvoiceSettled ¶
func (q *Queries) OnAMPSubInvoiceSettled(ctx context.Context, arg OnAMPSubInvoiceSettledParams) error
func (*Queries) OnInvoiceCanceled ¶
func (q *Queries) OnInvoiceCanceled(ctx context.Context, arg OnInvoiceCanceledParams) error
func (*Queries) OnInvoiceCreated ¶
func (q *Queries) OnInvoiceCreated(ctx context.Context, arg OnInvoiceCreatedParams) error
func (*Queries) OnInvoiceSettled ¶
func (q *Queries) OnInvoiceSettled(ctx context.Context, arg OnInvoiceSettledParams) error
func (*Queries) SetKVInvoicePaymentHash ¶ added in v1.0.7
func (q *Queries) SetKVInvoicePaymentHash(ctx context.Context, arg SetKVInvoicePaymentHashParams) error
func (*Queries) SetMigration ¶ added in v1.0.7
func (q *Queries) SetMigration(ctx context.Context, arg SetMigrationParams) error
func (*Queries) UpdateAMPSubInvoiceHTLCPreimage ¶
func (*Queries) UpdateAMPSubInvoiceState ¶
func (q *Queries) UpdateAMPSubInvoiceState(ctx context.Context, arg UpdateAMPSubInvoiceStateParams) error
func (*Queries) UpdateInvoiceAmountPaid ¶
func (*Queries) UpdateInvoiceHTLC ¶
func (q *Queries) UpdateInvoiceHTLC(ctx context.Context, arg UpdateInvoiceHTLCParams) error
func (*Queries) UpdateInvoiceHTLCs ¶
func (q *Queries) UpdateInvoiceHTLCs(ctx context.Context, arg UpdateInvoiceHTLCsParams) error
func (*Queries) UpdateInvoiceState ¶
func (*Queries) UpsertAMPSubInvoice ¶
func (*Queries) UpsertNode ¶ added in v1.0.10
func (*Queries) UpsertNodeExtraType ¶ added in v1.0.10
func (q *Queries) UpsertNodeExtraType(ctx context.Context, arg UpsertNodeExtraTypeParams) error
type SetKVInvoicePaymentHashParams ¶ added in v1.0.7
type SetMigrationParams ¶ added in v1.0.7
type SourceNode ¶ added in v1.0.10
type SourceNode struct {
NodeID int64
}
type UpdateInvoiceHTLCParams ¶
type UpsertNodeExtraTypeParams ¶ added in v1.0.10
type UpsertNodeParams ¶ added in v1.0.10
type UpsertNodeParams struct {
Version int16
PubKey []byte
Alias sql.NullString
LastUpdate sql.NullInt64
Color sql.NullString
Signature []byte
}
Click to show internal directories.
Click to hide internal directories.