dbhelper

package
v0.0.0-...-593c09c Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseDB

func CloseDB()

CloseDB close DB connection, not used in general

func GetDB

func GetDB() *sql.DB

GetDB Direct usage og db connection

func InitDB

func InitDB()

InitDB General Init of DB connection

func Setup

func Setup(dbuname string, dbpass string, targetURL string, targetPort string, dbtable string)

Setup General Init of DB parameter

func SteupnInitDB

func SteupnInitDB(dbuname string, dbpass string, targetURL string, targetPort string, dbtable string)

SteupnInitDB setup parameters and run init at the same time

func TesterFunc

func TesterFunc() (result string)

TesterFunc close DB connection, not used in general

Types

type DBConnectionParameter

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

DBConnectionParameter ...

Jump to

Keyboard shortcuts

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