pk

package
v0.0.0-...-ae089e8 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pk

type Pk struct {
	Host     string
	Port     string
	User     string
	Password string
	Dbname   string
	Buy      bool
}

func NewPk

func NewPk(conf config.Conf) (a *Pk)

func (*Pk) Connect

func (a *Pk) Connect() (db *sql.DB, err error)

func (*Pk) Init

func (a *Pk) Init()

func (*Pk) IsUsers

func (a *Pk) IsUsers() (ok bool)

func (*Pk) Reset

func (a *Pk) Reset()

func (*Pk) Starter

func (a *Pk) Starter()

func (*Pk) Tables

func (a *Pk) Tables(db *sql.DB)

Jump to

Keyboard shortcuts

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