loop/loopdb/sqlc/querier.go

33 lines
1.4 KiB
Go
Raw Normal View History

2023-05-17 19:03:51 +02:00
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.17.2
package sqlc
import (
"context"
)
type Querier interface {
2023-10-18 09:25:23 +02:00
CreateReservation(ctx context.Context, arg CreateReservationParams) error
2023-05-17 19:03:51 +02:00
FetchLiquidityParams(ctx context.Context) ([]byte, error)
GetLoopInSwap(ctx context.Context, swapHash []byte) (GetLoopInSwapRow, error)
GetLoopInSwaps(ctx context.Context) ([]GetLoopInSwapsRow, error)
GetLoopOutSwap(ctx context.Context, swapHash []byte) (GetLoopOutSwapRow, error)
GetLoopOutSwaps(ctx context.Context) ([]GetLoopOutSwapsRow, error)
2023-10-18 09:25:23 +02:00
GetReservation(ctx context.Context, reservationID []byte) (Reservation, error)
GetReservationUpdates(ctx context.Context, reservationID []byte) ([]ReservationUpdate, error)
GetReservations(ctx context.Context) ([]Reservation, error)
2023-05-17 19:03:51 +02:00
GetSwapUpdates(ctx context.Context, swapHash []byte) ([]SwapUpdate, error)
InsertHtlcKeys(ctx context.Context, arg InsertHtlcKeysParams) error
InsertLoopIn(ctx context.Context, arg InsertLoopInParams) error
InsertLoopOut(ctx context.Context, arg InsertLoopOutParams) error
2023-10-18 09:25:23 +02:00
InsertReservationUpdate(ctx context.Context, arg InsertReservationUpdateParams) error
2023-05-17 19:03:51 +02:00
InsertSwap(ctx context.Context, arg InsertSwapParams) error
InsertSwapUpdate(ctx context.Context, arg InsertSwapUpdateParams) error
2023-10-18 09:25:23 +02:00
UpdateReservation(ctx context.Context, arg UpdateReservationParams) error
2023-05-17 19:03:51 +02:00
UpsertLiquidityParams(ctx context.Context, params []byte) error
}
var _ Querier = (*Queries)(nil)