config

package
v0.0.0-...-06928bf Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Database = Store{}

Database - reference to database used for reading/writing SQL trans

Functions

func Logger

func Logger(inner http.Handler, name string) http.Handler

Logger prints route transactions to stdout

Types

type Store

type Store struct {
	DB *gorm.DB
}

Store - reference to db

func (*Store) InitDb

func (i *Store) InitDb()

InitDb - bootstrap db connection

Jump to

Keyboard shortcuts

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