config

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	Key  = sessionsconfig.Key + ".sqlite"
	Path = Key + ".path"
	// How the database writes to disk: "wal" or "delete"
	JournalMode = Key + ".journal_mode"
	// Pragmas of every connection, the database's own default when empty
	JournalSizeLimit  = Key + ".journal_size_limit"
	WALAutocheckpoint = Key + ".wal_autocheckpoint"
	CacheSize         = Key + ".cache_size"
	MmapSize          = Key + ".mmap_size"
	TempStore         = Key + ".temp_store"
	Synchronous       = Key + ".synchronous"
	// Index for searching Chinese, Japanese and Korean text by any three characters
	CJKFTS = Key + ".cjk_fts"
	// Suggests finishing an interrupted search index rebuild of a large database
	FTSOptimizeNotice = Key + ".fts_optimize_notice"
	// Searches slower than this many milliseconds are written to the log
	SearchSlowMS = Key + ".search_slow_ms"
)
View Source
const (
	WAL    = "wal"
	Delete = "delete"
	Advise = "advise"
	Off    = "off"
)

Variables

This section is empty.

Functions

func Register

func Register(cfg *config.Config)

Types

This section is empty.

Jump to

Keyboard shortcuts

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