controllers

package
v0.0.0-...-fd23dd1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: OSL-3.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Healthcheck

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

func (*Healthcheck) Healthcheck

func (controller *Healthcheck) Healthcheck(context.Context, *web.Request) web.Response

func (*Healthcheck) Inject

func (controller *Healthcheck) Inject(responder *web.Responder, provider StatusProvider)

Inject Healthcheck dependencies

func (*Healthcheck) Ping

func (controller *Healthcheck) Ping(context.Context, *web.Request) web.Response

type StatusProvider

type StatusProvider func() map[string]healthcheck.Status

Jump to

Keyboard shortcuts

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