Documentation
¶
Index ¶
- type Sqlite3Store
- func (s *Sqlite3Store) DB() *sql.DB
- func (s *Sqlite3Store) Init(ctx context.Context) error
- func (s *Sqlite3Store) Insert(ctx context.Context, v int64) error
- func (s *Sqlite3Store) Lock(ctx context.Context) error
- func (s *Sqlite3Store) Release(ctx context.Context) error
- func (s *Sqlite3Store) Remove(ctx context.Context, v int64) error
- func (s *Sqlite3Store) Version(ctx context.Context) (int64, error)
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
Click to show internal directories.
Click to hide internal directories.