webapi

package
v0.0.2-0...-362a2c4 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Webapp

type Webapp struct {
	Render       *render.Render
	NagiosStatus nagios.Status
}

func NewWebapp

func NewWebapp() Webapp

func (*Webapp) NagiosHost

func (w *Webapp) NagiosHost(c web.C, wr http.ResponseWriter, r *http.Request, status nagios.Status)

func (*Webapp) NagiosHostServices

func (w *Webapp) NagiosHostServices(c web.C, wr http.ResponseWriter, r *http.Request, status nagios.Status)

return all services belonging to host

func (*Webapp) NagiosService

func (w *Webapp) NagiosService(c web.C, wr http.ResponseWriter, r *http.Request, status nagios.Status)

return single service status

Jump to

Keyboard shortcuts

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