Documentation ¶
Index ¶
- type LibSqlDB
- type Options
- func WithAuthToken(authToken string) Options
- func WithDir(dir string) Options
- func WithEncryptionKey(key string) Options
- func WithLocalDBName(localDBName string) Options
- func WithMigrationFiles(migrationFiles embed.FS) Options
- func WithReadYourWrites(readYourWrites bool) Options
- func WithSyncInterval(syncInterval time.Duration) Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
func WithAuthToken ¶
WithAuthToken sets the auth token for the database
func WithEncryptionKey ¶
WithEncryptionKey sets the encryption key for the embedded database
func WithLocalDBName ¶
WithLocalDBName sets the local database name for the embedded database
func WithMigrationFiles ¶
func WithReadYourWrites ¶
WithReadYourWrites sets the encryption key for the embedded database
func WithSyncInterval ¶
WithSyncInterval sets the sync interval for the embedded database
Click to show internal directories.
Click to hide internal directories.