Documentation
¶
Overview ¶
Package postgres implements the target storage interface backed by PostgreSQL.
Index ¶
- type Client
- func (c *Client) Name() string
- func (c *Client) Query(ctx context.Context, sql string, args ...interface{}) (pgx.Rows, error)
- func (c *Client) QueryRow(ctx context.Context, sql string, args ...interface{}) pgx.Row
- func (c *Client) SendBatch(ctx context.Context, batch *pgx.Batch) error
- func (c *Client) Shutdown()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a PostgreSQL client.
Click to show internal directories.
Click to hide internal directories.