controllers

package
v3.0.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2019 License: OSL-3.0 Imports: 3 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
}

Healthcheck controller

func (*Healthcheck) Inject

func (h *Healthcheck) Inject(provider statusProvider)

Inject Healthcheck dependencies

func (*Healthcheck) ServeHTTP

func (h *Healthcheck) ServeHTTP(w http.ResponseWriter, _ *http.Request)

ServeHTTP responds to healthcheck requests

type Ping

type Ping struct{}

Ping controller

func (*Ping) ServeHTTP

func (p *Ping) ServeHTTP(w http.ResponseWriter, _ *http.Request)

ServeHTTP responds to Ping requests

Jump to

Keyboard shortcuts

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