Versions in this module Expand all Collapse all v10 v10.1.0 Aug 15, 2026 v10.0.0 Aug 12, 2026 Changes in this version + type Manager struct + func NewManager(db *sql.DB, opts ...Option) *Manager + func (p *Manager) CreateDatabase(ctx context.Context, dbName, owner string) error + func (p *Manager) CreateUser(ctx context.Context, username, password string) (err error) + func (p *Manager) DatabaseExists(ctx context.Context, dbName string) (bool, error) + func (p *Manager) DeleteDatabase(ctx context.Context, dbName string) error + func (p *Manager) DeleteUser(ctx context.Context, username string) error + func (p *Manager) GrantUserAccessToTable(ctx context.Context, username, schema, table, privilege string) error + func (p *Manager) UserCanAccessDatabase(ctx context.Context, username, dbName string) (bool, error) + func (p *Manager) UserExists(ctx context.Context, username string) (bool, error) + type Option func(*options) + func WithLogger(logger logging.Logger) Option + func WithPillars(pillars *observability.Pillars) Option + func WithTracerProvider(tracerProvider tracing.Provider) Option + type Privilege string + const PrivilegeConnect + const PrivilegeDelete + const PrivilegeInsert + const PrivilegeReferences + const PrivilegeSelect + const PrivilegeTrigger + const PrivilegeTruncate + const PrivilegeUpdate Other modules containing this package github.com/primandproper/platform-go github.com/primandproper/platform-go/v11 github.com/primandproper/platform-go/v12 github.com/primandproper/platform-go/v2 github.com/primandproper/platform-go/v3 github.com/primandproper/platform-go/v4 github.com/primandproper/platform-go/v5 github.com/primandproper/platform-go/v6 github.com/primandproper/platform-go/v7 github.com/primandproper/platform-go/v8 github.com/primandproper/platform-go/v9