services

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2017 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// HealthService ...
	HealthService health.ServiceInterface

	// OauthService ...
	OauthService oauth.ServiceInterface

	// WebService ...
	WebService web.ServiceInterface

	// SessionService ...
	SessionService session.ServiceInterface
)

Functions

func Close

func Close()

Close closes any open services

func Init

func Init(cnf *config.Config, db *gorm.DB) error

Init starts up all services

func UseHealthService

func UseHealthService(h health.ServiceInterface)

UseHealthService sets the health service

func UseOauthService

func UseOauthService(o oauth.ServiceInterface)

UseOauthService sets the oAuth service

func UseSessionService

func UseSessionService(s session.ServiceInterface)

UseSessionService sets the session service

func UseWebService

func UseWebService(w web.ServiceInterface)

UseWebService sets the web service

Types

This section is empty.

Jump to

Keyboard shortcuts

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