controllers

package
v2.3.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2018 License: OSL-3.0 Imports: 5 Imported by: 0

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