mirror of
https://github.com/elyby/chrly.git
synced 2025-05-31 14:11:51 +05:30
Переименованы некоторые параметры для statsd
This commit is contained in:
@@ -27,7 +27,7 @@ func Cape(response http.ResponseWriter, request *http.Request) {
|
||||
}
|
||||
|
||||
func CapeGET(w http.ResponseWriter, r *http.Request) {
|
||||
services.Logger.IncCounter("capes.get-request", 1)
|
||||
services.Logger.IncCounter("capes.get_request", 1)
|
||||
username := r.URL.Query().Get("name")
|
||||
if username == "" {
|
||||
w.WriteHeader(http.StatusBadRequest)
|
||||
|
||||
Reference in New Issue
Block a user