dbclient

package
v0.0.0-...-a797a20 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsertRow

func InsertRow(db *sql.DB, user vkclient.User) error

func UserStatisticsList

func UserStatisticsList(db *sql.DB, lastID int) ([]vkclient.UserStatisticRow, error)

Types

type DBConnection

type DBConnection struct {
	Host     string
	Port     int
	User     string
	Password string
	DBname   string
}

func (*DBConnection) PGConnect

func (self *DBConnection) PGConnect() (*sql.DB, error)

Jump to

Keyboard shortcuts

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