Documentation
¶
Index ¶
- func CheckSchema(ctx context.Context, db *sql.DB) error
- func NewPostgresDB(ctx context.Context, dsn string, cipher store.CredentialCodec) (*store.Store, error)
- func NewPostgresDBWithOptions(ctx context.Context, dsn string, cipher store.CredentialCodec, ...) (*store.Store, error)
- type OpenOptions
- type SchemaMode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPostgresDB ¶
func NewPostgresDBWithOptions ¶ added in v0.4.2
func NewPostgresDBWithOptions(ctx context.Context, dsn string, cipher store.CredentialCodec, options OpenOptions) (*store.Store, error)
Types ¶
type OpenOptions ¶ added in v0.4.2
type SchemaMode ¶ added in v0.4.2
type SchemaMode string
const ( SchemaModeAuto SchemaMode = "auto" SchemaModeCheck SchemaMode = "check" )
Click to show internal directories.
Click to hide internal directories.