Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInMemoryBackend ¶
func NewInMemoryBackend(opts ...option) *sqliteBackend
func NewSqliteBackend ¶
func NewSqliteBackend(path string, opts ...option) *sqliteBackend
func WithApplyMigrations ¶ added in v0.18.0
func WithApplyMigrations(applyMigrations bool) option
WithApplyMigrations automatically applies database migrations on startup.
func WithBackendOptions ¶ added in v0.18.0
func WithBackendOptions(opts ...backend.BackendOption) option
WithBackendOptions allows to pass generic backend options.
Types ¶
Click to show internal directories.
Click to hide internal directories.