database

package
v0.0.0-...-60de9e5 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// SQL wrapper
	SQL *sqlx.DB
)

Functions

func Connect

func Connect(database Database)

Connect to PROFFIX Database

func DSNMS

func DSNMS(ci Database) string

Create Connect String

Types

type Database

type Database struct {
	Username  string
	Password  string
	Database  string
	Hostname  string
	Port      int
	Parameter string
}

Jump to

Keyboard shortcuts

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