controllers

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2014 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)

Jump to

Keyboard shortcuts

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