lib

package
v0.0.0-...-3aaca00 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDBTable

func CreateDBTable(db *sqlx.DB) error

CreateDBTable creates tokens Table

func ExistDB

func ExistDB(path string) bool

ExistDB gets whether there is db or not

func GetDBPath

func GetDBPath() string

GetDBPath get db path

func GetToken

func GetToken(db *sqlx.DB, isRefresh bool) (string, error)

GetToken gets token

func InsertToken

func InsertToken(db *sqlx.DB, token string, isRefresh bool) error

InsertToken inserts token

Types

This section is empty.

Jump to

Keyboard shortcuts

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