Documentation
¶
Overview ¶
Package pgdb will hold the PostgreSQL-backed implementation of the internal/eds/pkg/store interface (phase 3). For now it only provides the schema migration runner: it is not wired into any production code path.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = cerr.NewAsertoError("E20150", codes.NotFound, http.StatusNotFound, "key not found")
ErrNotFound is returned by Get* methods when no row matches. It maps to codes.NotFound via status.Code(err), the same contract internal/eds/pkg/bdb's errors satisfy, so callers written against store.Tx don't need to know which backend they're talking to.
Functions ¶
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a store.Store implementation backed by a Postgres connection pool. It is not wired into any production code path yet (phase 4).
Click to show internal directories.
Click to hide internal directories.