database

package
v0.0.0-...-bf2806d Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2014 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Db *sql.DB

Functions

func ConnectMySQL

func ConnectMySQL(connectionInfo SqlConnection) error

Types

type SqlConnection

type SqlConnection struct {
	Address  string
	Port     int
	Database string
	UserName string
	Password string
}

SqlConnection contains data necessary to establish a connection to a SQL server.

func (*SqlConnection) ToString

func (this *SqlConnection) ToString() string

Jump to

Keyboard shortcuts

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