@@ -33,7 +33,7 @@ type ProfController struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (this *ProfController) Get() {
|
func (this *ProfController) Get() {
|
||||||
switch this.Ctx.Params[":pp"] {
|
switch this.Ctx.Param[":pp"] {
|
||||||
default:
|
default:
|
||||||
pprof.Index(this.Ctx.ResponseWriter, this.Ctx.Request)
|
pprof.Index(this.Ctx.ResponseWriter, this.Ctx.Request)
|
||||||
case "":
|
case "":
|
||||||
|
|||||||
Reference in New Issue
Block a user