service

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2018 License: GPL-3.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(env string) *logrus.Logger

NewLogger returns a logrus Logger

Types

type SQLDB

type SQLDB interface {
	Close() error
	Query(query string, args ...interface{}) (*sql.Rows, error)
	Ping() error
}

SQLDB describes a *sql.DB

Jump to

Keyboard shortcuts

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