1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 13:40:55 +00:00

fix typo healthcheck url

This commit is contained in:
astaxie 2013-12-29 11:01:19 +08:00
parent 95dc670eb4
commit ecfd11adb4

View File

@ -51,7 +51,7 @@ func AdminIndex(rw http.ResponseWriter, r *http.Request) {
rw.Write([]byte("There are servral functions:\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("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("2. Get runtime profiling data by the pprof, http://localhost:8088/prof\n"))
rw.Write([]byte("3. Get healthcheck result from 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("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("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("6. Get all confige & router infomation http://localhost:8088/listconf\n"))