status

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValenteStatusHandler

func ValenteStatusHandler(w http.ResponseWriter, r *http.Request)

ValenteStatusHandler handle a status request sending an json

Types

type StatusInfo

type StatusInfo struct {
	Started        time.Time
	OpenSessions   int
	ClosedSessions int
	Gotos          int
	SendedBytes    int
	ReceivedBytes  int
}

StatusInfo represents info of app status

var (
	//Status is app status
	Status StatusInfo
)

Jump to

Keyboard shortcuts

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