models

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConfigDefaults = Config{
		WAL:          true,
		ForeignKeys:  true,
		MaxOpenConns: 1,
		MaxIdleConns: 1,
	}
)

Functions

func LockConfig

func LockConfig()

func SetConfig

func SetConfig(cfg Config) error

Types

type Config

type Config struct {
	WAL          bool
	ForeignKeys  bool
	MaxOpenConns int
	MaxIdleConns int
}

func GetConfig

func GetConfig() Config

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL