Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(ctx context.Context, logger slog.Logger, db database.Store, vals *codersdk.DeploymentValues, reg prometheus.Registerer, opts ...Option) io.Closer
New creates a new periodically purging database instance. Callers must Close the returned instance.
Types ¶
Click to show internal directories.
Click to hide internal directories.