sqlite3store

package
v0.0.0-...-81bd2b1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sqlite3Store

type Sqlite3Store struct {
	// contains filtered or unexported fields
}

func New

func New(db *sql.DB) *Sqlite3Store

func (*Sqlite3Store) DB

func (s *Sqlite3Store) DB() *sql.DB

func (*Sqlite3Store) Init

func (s *Sqlite3Store) Init(ctx context.Context) error

func (*Sqlite3Store) Insert

func (s *Sqlite3Store) Insert(ctx context.Context, v int64) error

func (*Sqlite3Store) Lock

func (s *Sqlite3Store) Lock(ctx context.Context) error

func (*Sqlite3Store) Release

func (s *Sqlite3Store) Release(ctx context.Context) error

func (*Sqlite3Store) Remove

func (s *Sqlite3Store) Remove(ctx context.Context, v int64) error

func (*Sqlite3Store) Version

func (s *Sqlite3Store) Version(ctx context.Context) (int64, error)

Jump to

Keyboard shortcuts

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