app

package
v0.0.0-...-6577f4d Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DBConnectionString

func DBConnectionString() string

DBConnectionString returns DB credentials

Types

type App

type App interface {
	DB() *sqlx.DB
	Logger() *zap.Logger
	Router() *mux.Router
	Run()
	RunTask(task func(shutdown <-chan struct{}) error)
}

App represents application interface

func New

func New() App

New returns new instance of App

Jump to

Keyboard shortcuts

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