|
@@ -343,3 +343,229 @@ Stack:
|
|
----------|--------|------------|-----------------------------------------------------------------|--------------------
|
|
----------|--------|------------|-----------------------------------------------------------------|--------------------
|
|
|
|
|
|
2023-03-30 16:50:41.718 [INFO] pid[27169]: all servers shutdown
|
|
2023-03-30 16:50:41.718 [INFO] pid[27169]: all servers shutdown
|
|
|
|
+2023-03-30 17:21:26.567 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
|
|
|
|
+2023-03-30 17:21:26.567 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
|
|
|
|
+2023-03-30 17:21:26.567 [INFO] pid[29373]: http server started listening on [:8080]
|
|
|
|
+
|
|
|
|
+ ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello | ghttp.MiddlewareHandlerResponse
|
|
|
|
+ | | | | router.(*RateLimitMiddleware).Middleware
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+
|
|
|
|
+2023-03-30 17:24:26.678 [INFO] pid[29373]: all servers shutdown
|
|
|
|
+2023-03-30 17:24:28.794 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
|
|
|
|
+2023-03-30 17:24:28.794 [INFO] pid[29577]: http server started listening on [:8080]
|
|
|
|
+2023-03-30 17:24:28.794 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
|
|
|
|
+
|
|
|
|
+ ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello | ghttp.MiddlewareHandlerResponse
|
|
|
|
+ | | | | router.(*RateLimitMiddleware).Middleware
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+
|
|
|
|
+2023-03-30 17:25:01.574 [INFO] pid[29577]: all servers shutdown
|
|
|
|
+2023-03-30 17:25:03.581 [INFO] pid[29645]: http server started listening on [:8080]
|
|
|
|
+2023-03-30 17:25:03.581 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
|
|
|
|
+2023-03-30 17:25:03.581 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
|
|
|
|
+
|
|
|
|
+ ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello | ghttp.MiddlewareHandlerResponse
|
|
|
|
+ | | | | router.(*RateLimitMiddleware).Middleware
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+
|
|
|
|
+2023-03-30 17:26:51.323 [INFO] pid[29645]: all servers shutdown
|
|
|
|
+2023-03-30 17:26:53.487 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
|
|
|
|
+2023-03-30 17:26:53.487 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
|
|
|
|
+2023-03-30 17:26:53.487 [INFO] pid[29796]: http server started listening on [:8080]
|
|
|
|
+
|
|
|
|
+ ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello | ghttp.MiddlewareHandlerResponse
|
|
|
|
+ | | | | router.(*RateLimitMiddleware).Middleware
|
|
|
|
+ | | | | ghttp.MiddlewareHandlerResponse
|
|
|
|
+ | | | | router.MiddlewareCORS
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+
|
|
|
|
+2023-03-30 17:28:32.405 [INFO] pid[29796]: all servers shutdown
|
|
|
|
+2023-03-30 17:28:34.439 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
|
|
|
|
+2023-03-30 17:28:34.439 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
|
|
|
|
+2023-03-30 17:28:34.439 [INFO] pid[29933]: http server started listening on [:8080]
|
|
|
|
+
|
|
|
|
+ ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello | ghttp.MiddlewareHandlerResponse
|
|
|
|
+ | | | | router.(*RateLimitMiddleware).Middleware
|
|
|
|
+ | | | | ghttp.MiddlewareHandlerResponse
|
|
|
|
+ | | | | router.MiddlewareCORS
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+
|
|
|
|
+2023-03-30 17:30:37.790 [INFO] pid[29933]: all servers shutdown
|
|
|
|
+2023-03-30 17:30:39.891 [FATA] invalid handler: go-gpt/internal/controller.(*cHello).Hello defined as "func(context.Context, *v1.HelloReq) error", but "func(*ghttp.Request)" or "func(context.Context, *BizRequest)(*BizResponse, error)" is required
|
|
|
|
+1. invalid handler: go-gpt/internal/controller.(*cHello).Hello defined as "func(context.Context, *v1.HelloReq) error", but "func(*ghttp.Request)" or "func(context.Context, *BizRequest)(*BizResponse, error)" is required
|
|
|
|
+ 1). github.com/gogf/gf/v2/net/ghttp.(*Server).checkAndCreateFuncInfo
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_service_handler.go:152
|
|
|
|
+ 2). github.com/gogf/gf/v2/net/ghttp.(*Server).doBindObject
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_service_object.go:132
|
|
|
|
+ 3). github.com/gogf/gf/v2/net/ghttp.(*RouterGroup).doBindRoutersToServer
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_router_group.go:391
|
|
|
|
+ 4). github.com/gogf/gf/v2/net/ghttp.(*Server).handlePreBindItems
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_router_group.go:71
|
|
|
|
+ 5). github.com/gogf/gf/v2/net/ghttp.(*Server).Start
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server.go:140
|
|
|
|
+ 6). github.com/gogf/gf/v2/net/ghttp.(*Server).Run
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server.go:424
|
|
|
|
+ 7). go-gpt/internal/cmd.glob..func1
|
|
|
|
+ /Users/cauto/Desktop/work/go_work/go-gpt/internal/cmd/cmd.go:32
|
|
|
|
+ 8). github.com/gogf/gf/v2/os/gcmd.(*Command).doRun
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:149
|
|
|
|
+ 9). github.com/gogf/gf/v2/os/gcmd.(*Command).RunWithValueError
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:82
|
|
|
|
+ 10). github.com/gogf/gf/v2/os/gcmd.(*Command).RunWithValue
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:41
|
|
|
|
+ 11). github.com/gogf/gf/v2/os/gcmd.(*Command).Run
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:35
|
|
|
|
+ 12). main.main
|
|
|
|
+ /Users/cauto/Desktop/work/go_work/go-gpt/main.go:12
|
|
|
|
+
|
|
|
|
+Stack:
|
|
|
|
+1. github.com/gogf/gf/v2/net/ghttp.(*Server).doBindObject
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_service_object.go:134
|
|
|
|
+2. github.com/gogf/gf/v2/net/ghttp.(*RouterGroup).doBindRoutersToServer
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_router_group.go:391
|
|
|
|
+3. github.com/gogf/gf/v2/net/ghttp.(*Server).handlePreBindItems
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_router_group.go:71
|
|
|
|
+4. github.com/gogf/gf/v2/net/ghttp.(*Server).Start
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server.go:140
|
|
|
|
+5. github.com/gogf/gf/v2/net/ghttp.(*Server).Run
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server.go:424
|
|
|
|
+6. go-gpt/internal/cmd.glob..func1
|
|
|
|
+ /Users/cauto/Desktop/work/go_work/go-gpt/internal/cmd/cmd.go:32
|
|
|
|
+7. github.com/gogf/gf/v2/os/gcmd.(*Command).doRun
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:149
|
|
|
|
+8. github.com/gogf/gf/v2/os/gcmd.(*Command).RunWithValueError
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:82
|
|
|
|
+9. github.com/gogf/gf/v2/os/gcmd.(*Command).RunWithValue
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:41
|
|
|
|
+10. github.com/gogf/gf/v2/os/gcmd.(*Command).Run
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:35
|
|
|
|
+11. main.main
|
|
|
|
+ /Users/cauto/Desktop/work/go_work/go-gpt/main.go:12
|
|
|
|
+
|
|
|
|
+2023-03-30 17:31:01.076 [FATA] invalid handler: go-gpt/internal/controller.(*cHello).Hello defined as "func(context.Context) error", but "func(*ghttp.Request)" or "func(context.Context, *BizRequest)(*BizResponse, error)" is required
|
|
|
|
+1. invalid handler: go-gpt/internal/controller.(*cHello).Hello defined as "func(context.Context) error", but "func(*ghttp.Request)" or "func(context.Context, *BizRequest)(*BizResponse, error)" is required
|
|
|
|
+ 1). github.com/gogf/gf/v2/net/ghttp.(*Server).checkAndCreateFuncInfo
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_service_handler.go:152
|
|
|
|
+ 2). github.com/gogf/gf/v2/net/ghttp.(*Server).doBindObject
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_service_object.go:132
|
|
|
|
+ 3). github.com/gogf/gf/v2/net/ghttp.(*RouterGroup).doBindRoutersToServer
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_router_group.go:391
|
|
|
|
+ 4). github.com/gogf/gf/v2/net/ghttp.(*Server).handlePreBindItems
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_router_group.go:71
|
|
|
|
+ 5). github.com/gogf/gf/v2/net/ghttp.(*Server).Start
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server.go:140
|
|
|
|
+ 6). github.com/gogf/gf/v2/net/ghttp.(*Server).Run
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server.go:424
|
|
|
|
+ 7). go-gpt/internal/cmd.glob..func1
|
|
|
|
+ /Users/cauto/Desktop/work/go_work/go-gpt/internal/cmd/cmd.go:32
|
|
|
|
+ 8). github.com/gogf/gf/v2/os/gcmd.(*Command).doRun
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:149
|
|
|
|
+ 9). github.com/gogf/gf/v2/os/gcmd.(*Command).RunWithValueError
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:82
|
|
|
|
+ 10). github.com/gogf/gf/v2/os/gcmd.(*Command).RunWithValue
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:41
|
|
|
|
+ 11). github.com/gogf/gf/v2/os/gcmd.(*Command).Run
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:35
|
|
|
|
+ 12). main.main
|
|
|
|
+ /Users/cauto/Desktop/work/go_work/go-gpt/main.go:12
|
|
|
|
+
|
|
|
|
+Stack:
|
|
|
|
+1. github.com/gogf/gf/v2/net/ghttp.(*Server).doBindObject
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_service_object.go:134
|
|
|
|
+2. github.com/gogf/gf/v2/net/ghttp.(*RouterGroup).doBindRoutersToServer
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_router_group.go:391
|
|
|
|
+3. github.com/gogf/gf/v2/net/ghttp.(*Server).handlePreBindItems
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_router_group.go:71
|
|
|
|
+4. github.com/gogf/gf/v2/net/ghttp.(*Server).Start
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server.go:140
|
|
|
|
+5. github.com/gogf/gf/v2/net/ghttp.(*Server).Run
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server.go:424
|
|
|
|
+6. go-gpt/internal/cmd.glob..func1
|
|
|
|
+ /Users/cauto/Desktop/work/go_work/go-gpt/internal/cmd/cmd.go:32
|
|
|
|
+7. github.com/gogf/gf/v2/os/gcmd.(*Command).doRun
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:149
|
|
|
|
+8. github.com/gogf/gf/v2/os/gcmd.(*Command).RunWithValueError
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:82
|
|
|
|
+9. github.com/gogf/gf/v2/os/gcmd.(*Command).RunWithValue
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:41
|
|
|
|
+10. github.com/gogf/gf/v2/os/gcmd.(*Command).Run
|
|
|
|
+ /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:35
|
|
|
|
+11. main.main
|
|
|
|
+ /Users/cauto/Desktop/work/go_work/go-gpt/main.go:12
|
|
|
|
+
|
|
|
|
+2023-03-30 17:33:10.576 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
|
|
|
|
+2023-03-30 17:33:10.576 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
|
|
|
|
+2023-03-30 17:33:10.576 [INFO] pid[30308]: http server started listening on [:8080]
|
|
|
|
+
|
|
|
|
+ ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello | ghttp.MiddlewareHandlerResponse
|
|
|
|
+ | | | | router.(*RateLimitMiddleware).Middleware
|
|
|
|
+ | | | | ghttp.MiddlewareHandlerResponse
|
|
|
|
+ | | | | router.MiddlewareCORS
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+ :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
|
|
|
|
+
|
|
|
|
+2023-03-30 17:50:11.038 [INFO] pid[30308]: all servers shutdown
|
|
|
|
+2023-03-30 17:50:13.509 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
|
|
|
|
+2023-03-30 17:50:13.509 [INFO] pid[31336]: http server started listening on [:8080]
|
|
|
|
+2023-03-30 17:50:13.509 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
|
|
|
|
+
|
|
|
|
+ ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|--------------------
|
|
|
|
+ :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|--------------------
|
|
|
|
+ :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|--------------------
|
|
|
|
+ :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello |
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|--------------------
|
|
|
|
+ :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
|
|
|
|
+----------|--------|------------|-----------------------------------------------------------------|--------------------
|
|
|
|
+
|
|
|
|
+2023-03-30 17:51:20.779 [INFO] pid[31336]: all servers shutdown
|