Documentation
¶
Index ¶
- type DBTX
- type GetSettingsRow
- type InsertVHTLCParams
- type Queries
- func (q *Queries) DeleteSettings(ctx context.Context) error
- func (q *Queries) DeleteVHTLC(ctx context.Context, preimageHash string) error
- func (q *Queries) DeleteVtxoRollover(ctx context.Context, address string) error
- func (q *Queries) GetSettings(ctx context.Context) (GetSettingsRow, error)
- func (q *Queries) GetVHTLC(ctx context.Context, preimageHash string) (Vhtlc, error)
- func (q *Queries) GetVtxoRollover(ctx context.Context, address string) (VtxoRollover, error)
- func (q *Queries) InsertVHTLC(ctx context.Context, arg InsertVHTLCParams) error
- func (q *Queries) ListVHTLC(ctx context.Context) ([]Vhtlc, error)
- func (q *Queries) ListVtxoRollover(ctx context.Context) ([]VtxoRollover, error)
- func (q *Queries) UpsertSettings(ctx context.Context, arg UpsertSettingsParams) error
- func (q *Queries) UpsertVtxoRollover(ctx context.Context, arg UpsertVtxoRolloverParams) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Setting
- type UpsertSettingsParams
- type UpsertVtxoRolloverParams
- type Vhtlc
- type VtxoRollover
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetSettingsRow ¶
type GetSettingsRow struct {
ApiRoot string
ServerUrl string
EsploraUrl sql.NullString
Currency string
EventServer string
FullNode string
LnUrl sql.NullString
Unit string
}
type InsertVHTLCParams ¶
type InsertVHTLCParams struct {
PreimageHash string
Sender string
Receiver string
Server string
RefundLocktime int64
UnilateralClaimDelayType int64
UnilateralClaimDelayValue int64
UnilateralRefundDelayType int64
UnilateralRefundDelayValue int64
UnilateralRefundWithoutReceiverDelayType int64
UnilateralRefundWithoutReceiverDelayValue int64
}
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) DeleteVHTLC ¶
func (*Queries) DeleteVtxoRollover ¶
func (*Queries) GetSettings ¶
func (q *Queries) GetSettings(ctx context.Context) (GetSettingsRow, error)
func (*Queries) GetVtxoRollover ¶
func (*Queries) InsertVHTLC ¶
func (q *Queries) InsertVHTLC(ctx context.Context, arg InsertVHTLCParams) error
VHTLC queries
func (*Queries) ListVtxoRollover ¶
func (q *Queries) ListVtxoRollover(ctx context.Context) ([]VtxoRollover, error)
func (*Queries) UpsertSettings ¶
func (q *Queries) UpsertSettings(ctx context.Context, arg UpsertSettingsParams) error
Settings queries
func (*Queries) UpsertVtxoRollover ¶
func (q *Queries) UpsertVtxoRollover(ctx context.Context, arg UpsertVtxoRolloverParams) error
VtxoRollover queries
type UpsertSettingsParams ¶
type UpsertSettingsParams struct {
ApiRoot string
ServerUrl string
EsploraUrl sql.NullString
Currency string
EventServer string
FullNode string
LnUrl sql.NullString
Unit string
}
type Vhtlc ¶
type Vhtlc struct {
PreimageHash string
Sender string
Receiver string
Server string
RefundLocktime int64
UnilateralClaimDelayType int64
UnilateralClaimDelayValue int64
UnilateralRefundDelayType int64
UnilateralRefundDelayValue int64
UnilateralRefundWithoutReceiverDelayType int64
UnilateralRefundWithoutReceiverDelayValue int64
}
type VtxoRollover ¶
Click to show internal directories.
Click to hide internal directories.