health

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2016 License: MPL-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(router *mux.Router, service *Service)

RegisterRoutes registers route handlers for the health service

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service struct keeps db object to avoid passing it around

func NewService

func NewService(db *gorm.DB) *Service

NewService starts a new Service instance

Jump to

Keyboard shortcuts

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