Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶ added in v0.4.4
type Instance interface { Ping(ctx context.Context) error Query(ctx context.Context, sql string, args ...any) (pgx.Rows, error) QueryRow(ctx context.Context, sql string, args ...any) pgx.Row // contains filtered or unexported methods }
Instance is an abstraction of pgx API, to allow to use pgx.Conn or pgxpool.Pool.
type Store ¶
Store is the instance to store and retrieve the messages in PostgreSQL database.
Click to show internal directories.
Click to hide internal directories.