-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgin.log
More file actions
25 lines (23 loc) · 1.46 KB
/
Copy pathgin.log
File metadata and controls
25 lines (23 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] GET /css/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (1 handlers)
[GIN-debug] HEAD /css/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (1 handlers)
[GIN-debug] Loaded HTML Templates (4):
-
- footer.html
- header.html
- index.html
[GIN-debug] GET /api/videos --> main.main.func1 (5 handlers)
[GIN-debug] POST /api/postvideo --> main.main.func2 (5 handlers)
[GIN-debug] DELETE /api/videos --> main.main.func3 (5 handlers)
[GIN-debug] GET /view/videos --> gilab.com/pragmaticreviews/golang-gin-poc/controller.VideoController.ShowAll-fm (5 handlers)
[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details.
[GIN-debug] Listening and serving HTTP on :8080
::1 - [30 Oct 23 16:37 +07] GET /api/videos 200 14.9848ms
::1 - [30 Oct 23 16:38 +07] GET /view/videos 200 112.3292ms
::1 - [30 Oct 23 16:38 +07] POST /api/postvideo 401 0s
::1 - [30 Oct 23 16:39 +07] POST /api/postvideo 401 0s
::1 - [30 Oct 23 16:39 +07] POST /api/postvideo 200 18.0068ms
::1 - [30 Oct 23 16:39 +07] GET /api/videos 200 30.4509ms