deps

package
v0.0.0-...-4efb1cb Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2017 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deps

type Deps struct {
	Db               *storm.DB
	UserRepo         db.UserRepoer
	InventoryRepo    db.InventoryRepoer
	UserService      services.UserServicer
	InventoryService services.InventoryServicer
	CookieAuth       *logincookie.CookieAuthentication
}

func NewDeps

func NewDeps() *Deps

func (*Deps) GetCookieAuthentication

func (deps *Deps) GetCookieAuthentication() *logincookie.CookieAuthentication

func (*Deps) GetLoginRoute

func (deps *Deps) GetLoginRoute() string

func (*Deps) GetUserService

func (deps *Deps) GetUserService() services.UserServicer

Jump to

Keyboard shortcuts

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