debug

package
v0.0.0-...-4426a52 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2015 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package debug adds debug endpoint to admin page.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle struct {
}

Bundle adds pprof into admin environment.

func NewBundle

func NewBundle() *Bundle

NewBundle allocates and returns a new Bundle.

func (*Bundle) Initialize

func (b *Bundle) Initialize(bootstrap *core.Bootstrap)

func (*Bundle) Run

func (b *Bundle) Run(conf interface{}, env *core.Environment) error

Run registers /debug/vars and /debug/pprof/.

Jump to

Keyboard shortcuts

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