db

package
v0.0.0-...-a52fea8 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2014 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DbType = "postgres"
)

Variables

This section is empty.

Functions

func Init

func Init(conf Config)

Types

type Config

type Config struct {
	Database string
	User     string
	Password string
	Host     string
	Port     int
}

type DbService

type DbService struct {
	*gorp.DbMap
}

func Service

func Service() *DbService

Jump to

Keyboard shortcuts

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