fix typo healthcheck url
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -51,7 +51,7 @@ func AdminIndex(rw http.ResponseWriter, r *http.Request) { | ... | @@ -51,7 +51,7 @@ func AdminIndex(rw http.ResponseWriter, r *http.Request) { |
| 51 | rw.Write([]byte("There are servral functions:\n")) | 51 | rw.Write([]byte("There are servral functions:\n")) |
| 52 | rw.Write([]byte("1. Record all request and request time, http://localhost:8088/qps\n")) | 52 | rw.Write([]byte("1. Record all request and request time, http://localhost:8088/qps\n")) |
| 53 | rw.Write([]byte("2. Get runtime profiling data by the pprof, http://localhost:8088/prof\n")) | 53 | rw.Write([]byte("2. Get runtime profiling data by the pprof, http://localhost:8088/prof\n")) |
| 54 | rw.Write([]byte("3. Get healthcheck result from http://localhost:8088/prof\n")) | 54 | rw.Write([]byte("3. Get healthcheck result from http://localhost:8088/healthcheck\n")) |
| 55 | rw.Write([]byte("4. Get current task infomation from taskhttp://localhost:8088/task \n")) | 55 | rw.Write([]byte("4. Get current task infomation from taskhttp://localhost:8088/task \n")) |
| 56 | rw.Write([]byte("5. To run a task passed a param http://localhost:8088/runtask\n")) | 56 | rw.Write([]byte("5. To run a task passed a param http://localhost:8088/runtask\n")) |
| 57 | rw.Write([]byte("6. Get all confige & router infomation http://localhost:8088/listconf\n")) | 57 | rw.Write([]byte("6. Get all confige & router infomation http://localhost:8088/listconf\n")) | ... | ... |
-
Please register or sign in to post a comment