bll

package
v0.0.0-...-a4a1dc1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Database
}

func (*Configuration) CreateDbMap

func (self *Configuration) CreateDbMap() (*gorp.DbMap, error)

func (*Configuration) Load

func (c *Configuration) Load(path string) error

type Database

type Database struct {
	Engine   string
	Host     string
	Port     uint16
	Name     string
	User     string
	Password string
	Protocol string
	DbArgs   string
}

func (*Database) GetConnectionString

func (db *Database) GetConnectionString() (string, error)

Jump to

Keyboard shortcuts

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