sqlite

package
v0.0.0-...-95f8b43 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLite

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

SQLite is a SQLite database.

func New

func New(ctx context.Context, uri string) (*SQLite, error)

New creates a new SQLite database.

func (*SQLite) Account

func (s *SQLite) Account(ctx context.Context, userNumber string) (store.AccountStore, error)

func (*SQLite) Accounts

func (s *SQLite) Accounts(ctx context.Context) ([]store.Account, error)

func (*SQLite) Close

func (s *SQLite) Close() error

func (*SQLite) SetAccount

func (s *SQLite) SetAccount(ctx context.Context, info store.Account) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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