|
@@ -318,9 +318,12 @@ func HTTP(ctx *context.Context) { |
|
|
dataJson, _ := json.Marshal(ctx.Data) |
|
|
dataJson, _ := json.Marshal(ctx.Data) |
|
|
log.Info("dataJson=" + string(dataJson)) |
|
|
log.Info("dataJson=" + string(dataJson)) |
|
|
|
|
|
|
|
|
reqJson, _ := json.Marshal(ctx.Req.Request) |
|
|
|
|
|
|
|
|
reqJson, _ := json.Marshal(ctx.Req) |
|
|
log.Info("reqJson=" + string(reqJson)) |
|
|
log.Info("reqJson=" + string(reqJson)) |
|
|
|
|
|
|
|
|
|
|
|
paramJson, _ := json.Marshal(ctx.Params) |
|
|
|
|
|
log.Info("paramJson=" + string(paramJson)) |
|
|
|
|
|
|
|
|
if service == "git-upload-pack" { // clone_cnt |
|
|
if service == "git-upload-pack" { // clone_cnt |
|
|
go repo.IncreaseCloneCnt() |
|
|
go repo.IncreaseCloneCnt() |
|
|
} |
|
|
} |
|
|