infra

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Status

func Status(healthService HealthCheckService, settings *WechySettings) app.HandlerFunc

Status creates a new Status HTTP handler

Types

type HealthCheckService

type HealthCheckService interface {
	IsDatabaseOnline() bool
}

HealthCheckService is a simple general purpose health check service

type WechySettings

type WechySettings struct {
	BuildTime    string
	Version      string
	AuthEndpoint string
}

WechySettings is an application-wide settings

Jump to

Keyboard shortcuts

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