controllers

package
v0.0.0-...-5e61291 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: GPL-2.0, GPL-2.0-or-later Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pprof

type Pprof struct {
	*revel.Controller
}

func (Pprof) Cmdline

func (c Pprof) Cmdline() revel.Result

func (Pprof) Index

func (c Pprof) Index() revel.Result

func (Pprof) Profile

func (c Pprof) Profile() revel.Result

func (Pprof) Symbol

func (c Pprof) Symbol() revel.Result

func (Pprof) Trace

func (c Pprof) Trace() revel.Result

type PprofHandler

type PprofHandler func(http.ResponseWriter, *http.Request)

The PprofHandler type makes it easy to call the net/http/pprof handler methods since they all have the same method signature

func (PprofHandler) Apply

func (r PprofHandler) Apply(req *revel.Request, resp *revel.Response)

Jump to

Keyboard shortcuts

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