controllers

package
Version: v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2015 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

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)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL