stats

package
v0.0.0-...-c160ba3 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoutes

func AddRoutes(m *mux.Router)

func CurrentVisitors

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

func E505

func E505(w http.ResponseWriter, err error)

func JSON

func JSON(w http.ResponseWriter, body interface{}, code int)

func Ok

func Ok(w http.ResponseWriter, body interface{})

func Respond

func Respond(w http.ResponseWriter, body []byte, code int)

Types

type Error

type Error struct {
	Message string
}

Jump to

Keyboard shortcuts

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