seam

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package seam keeps a connection wrapper per database path.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear(path string)

Clear removes the wrapper of the database at path.

func Set

func Set(path string, wrap func(driver.Conn) driver.Conn)

Set registers wrap for every new connection to the database at path.

func Wrap

func Wrap(path string, c driver.Conn) driver.Conn

Wrap returns c passed through the wrapper of the database at path, or c when none is set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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