Documentation
¶
Overview ¶
Package pgset provides an implementation of set.BinaryStore that persists to a PostgreSQL database.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryStore ¶
BinaryStore is an implementation of set.BinaryStore that persists to a PostgreSQL database.
func (*BinaryStore) Provision ¶ added in v0.17.0
func (s *BinaryStore) Provision(ctx context.Context) error
Provision creates the PostgreSQL schema and tables used by the store if they do not already exist.
The store also creates the schema on first use if it does not exist. Provision allows infrastructure to be created ahead of time, for example as part of a deployment pipeline, so that the application itself does not need DDL permissions.
Click to show internal directories.
Click to hide internal directories.