api/server fix golint errors/warnings.

Addresses #14756
Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
Upstream-commit: 351f6b8ec011983d894951769c2116c9feaf81d2
Component: engine
This commit is contained in:
root
2015-07-21 05:15:44 +00:00
committed by Srini Brahmaroutu
parent a011b8f810
commit dcda9483a8
9 changed files with 95 additions and 78 deletions

View File

@ -9,7 +9,7 @@ import (
"github.com/gorilla/mux"
)
func ProfilerSetup(mainRouter *mux.Router, path string) {
func profilerSetup(mainRouter *mux.Router, path string) {
var r = mainRouter.PathPrefix(path).Subrouter()
r.HandleFunc("/vars", expVars)
r.HandleFunc("/pprof/", pprof.Index)