database

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

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

func OpenDB

func OpenDB() (*Database, error)

func (*Database) CreateTokensTable

func (d *Database) CreateTokensTable() error

func (*Database) Get

func (d *Database) Get(user string) (tokens.TTokens, error)

func (*Database) Put

func (d *Database) Put(user string, tokens tokens.TTokens) error

func (*Database) Remove

func (d *Database) Remove(user string) error

Jump to

Keyboard shortcuts

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