From b2bd829d39d4ae67f9b64453ad5072afa7bc9de0 Mon Sep 17 00:00:00 2001 From: astaxie Date: Tue, 15 Apr 2014 05:03:20 +0800 Subject: [PATCH] beego: add link in the admin console --- admin.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/admin.go b/admin.go index e1dd2743..ffaed11e 100644 --- a/admin.go +++ b/admin.go @@ -55,12 +55,12 @@ func init() { func adminIndex(rw http.ResponseWriter, r *http.Request) { rw.Write([]byte("Welcome to Admin Dashboard\n")) rw.Write([]byte("There are servral functions:\n")) - rw.Write([]byte("1. Record all request and request time, http://localhost:8088/qps\n")) - rw.Write([]byte("2. Get runtime profiling data by the pprof, http://localhost:8088/prof\n")) - rw.Write([]byte("3. Get healthcheck result from http://localhost:8088/healthcheck\n")) - rw.Write([]byte("4. Get current task infomation from taskhttp://localhost:8088/task \n")) - rw.Write([]byte("5. To run a task passed a param http://localhost:8088/runtask\n")) - rw.Write([]byte("6. Get all confige & router infomation http://localhost:8088/listconf\n")) + rw.Write([]byte("1. Record all request and request time, http://localhost:8088/qps\n")) + rw.Write([]byte("2. Get runtime profiling data by the pprof, http://localhost:8088/prof\n")) + rw.Write([]byte("3. Get healthcheck result from http://localhost:8088/healthcheck\n")) + rw.Write([]byte("4. Get current task infomation from task http://localhost:8088/task \n")) + rw.Write([]byte("5. To run a task passed a param http://localhost:8088/runtask\n")) + rw.Write([]byte("6. Get all confige & router infomation http://localhost:8088/listconf\n")) }