controllers

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2018 License: MIT 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