2023-03-30 16:08:07.159 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/ 2023-03-30 16:08:07.159 [INFO] pid[24566]: http server started listening on [:8080] 2023-03-30 16:08:07.160 [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 ----------|--------|------------|-----------------------------------------------------------------|---------------------------------- :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE ----------|--------|------------|-----------------------------------------------------------------|---------------------------------- 2023-03-30 16:11:54.790 [INFO] pid[24566]: all servers shutdown 2023-03-30 16:11:56.888 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/ 2023-03-30 16:11:56.888 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json 2023-03-30 16:11:56.888 [INFO] pid[24815]: 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/hello/hello | go-gpt/internal/controller.(*cHello).Hello | ghttp.MiddlewareHandlerResponse | | | | router.MiddlewareCORS ----------|--------|--------------------|-----------------------------------------------------------------|---------------------------------- :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE ----------|--------|--------------------|-----------------------------------------------------------------|---------------------------------- 2023-03-30 16:12:38.262 [INFO] pid[24815]: all servers shutdown 2023-03-30 16:12:40.330 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/ 2023-03-30 16:12:40.330 [INFO] pid[24883]: http server started listening on [:8080] 2023-03-30 16:12:40.330 [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/hello | go-gpt/internal/controller.(*cHello).Hello | ghttp.MiddlewareHandlerResponse | | | | router.MiddlewareCORS ----------|--------|--------------|-----------------------------------------------------------------|---------------------------------- :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE ----------|--------|--------------|-----------------------------------------------------------------|---------------------------------- 2023-03-30 16:13:00.353 [INFO] pid[24883]: all servers shutdown 2023-03-30 16:13:01.741 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/ 2023-03-30 16:13:01.741 [INFO] pid[24936]: http server started listening on [:8080] 2023-03-30 16:13:01.741 [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.MiddlewareCORS ----------|--------|------------|-----------------------------------------------------------------|---------------------------------- :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE ----------|--------|------------|-----------------------------------------------------------------|---------------------------------- 2023-03-30 16:13:20.289 [ERRO] http: superfluous response.WriteHeader call from github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush (ghttp_response_writer.go:61) Stack: 1. github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response_writer.go:61 2. github.com/gogf/gf/v2/net/ghttp.(*Response).Flush /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response.go:165 3. github.com/gogf/gf/v2/net/ghttp.(*Server).ServeHTTP /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_handler.go:196 2023-03-30 16:16:09.608 [INFO] pid[24936]: all servers shutdown 2023-03-30 16:16:11.628 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/ 2023-03-30 16:16:11.628 [INFO] pid[25141]: http server started listening on [:8080] 2023-03-30 16:16:11.628 [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 16:16:21.948 [ERRO] http: superfluous response.WriteHeader call from github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush (ghttp_response_writer.go:61) Stack: 1. github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response_writer.go:61 2. github.com/gogf/gf/v2/net/ghttp.(*Response).Flush /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response.go:165 3. github.com/gogf/gf/v2/net/ghttp.(*Server).ServeHTTP /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_handler.go:196 2023-03-30 16:18:25.062 [INFO] pid[25141]: all servers shutdown 2023-03-30 16:18:27.174 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/ 2023-03-30 16:18:27.174 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json 2023-03-30 16:18:27.174 [INFO] pid[25317]: 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 | ----------|--------|------------|-----------------------------------------------------------------|-------------------- :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE ----------|--------|------------|-----------------------------------------------------------------|-------------------- 2023-03-30 16:18:48.924 [ERRO] http: superfluous response.WriteHeader call from github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush (ghttp_response_writer.go:61) Stack: 1. github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response_writer.go:61 2. github.com/gogf/gf/v2/net/ghttp.(*Response).Flush /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response.go:165 3. github.com/gogf/gf/v2/net/ghttp.(*Server).ServeHTTP /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_handler.go:196 2023-03-30 16:21:05.124 [INFO] pid[25317]: all servers shutdown 2023-03-30 16:21:07.182 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/ 2023-03-30 16:21:07.181 [INFO] pid[25505]: http server started listening on [:8080] 2023-03-30 16:21:07.182 [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 16:21:13.637 [ERRO] http: superfluous response.WriteHeader call from github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush (ghttp_response_writer.go:61) Stack: 1. github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response_writer.go:61 2. github.com/gogf/gf/v2/net/ghttp.(*Response).Flush /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response.go:165 3. github.com/gogf/gf/v2/net/ghttp.(*Server).ServeHTTP /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_handler.go:196 2023-03-30 16:22:42.330 [INFO] pid[25505]: all servers shutdown 2023-03-30 16:22:44.354 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/ 2023-03-30 16:22:44.354 [INFO] pid[25645]: http server started listening on [:8080] 2023-03-30 16:22:44.355 [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 16:22:50.978 [ERRO] http: superfluous response.WriteHeader call from github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush (ghttp_response_writer.go:61) Stack: 1. github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response_writer.go:61 2. github.com/gogf/gf/v2/net/ghttp.(*Response).Flush /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response.go:165 3. github.com/gogf/gf/v2/net/ghttp.(*Server).ServeHTTP /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_handler.go:196 2023-03-30 16:26:14.128 [INFO] pid[25645]: all servers shutdown 2023-03-30 16:26:16.087 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/ 2023-03-30 16:26:16.087 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json 2023-03-30 16:26:16.087 [INFO] pid[25879]: 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 | ----------|--------|------------|-----------------------------------------------------------------|-------------------- :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE ----------|--------|------------|-----------------------------------------------------------------|-------------------- 2023-03-30 16:26:29.216 [ERRO] http: superfluous response.WriteHeader call from github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush (ghttp_response_writer.go:61) Stack: 1. github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response_writer.go:61 2. github.com/gogf/gf/v2/net/ghttp.(*Response).Flush /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response.go:165 3. github.com/gogf/gf/v2/net/ghttp.(*Server).ServeHTTP /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_handler.go:196 2023-03-30 16:26:58.535 [INFO] pid[25879]: all servers shutdown 2023-03-30 16:27:00.565 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/ 2023-03-30 16:27:00.565 [INFO] pid[25950]: http server started listening on [:8080] 2023-03-30 16:27:00.565 [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 16:27:04.141 [ERRO] http: superfluous response.WriteHeader call from github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush (ghttp_response_writer.go:61) Stack: 1. github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response_writer.go:61 2. go-gpt/internal/controller.(*cHello).Hello.func1 /Users/cauto/Desktop/work/go_work/go-gpt/internal/controller/hello.go:53 3. go-gpt/gpt.(*client).ChatCompletionStream /Users/cauto/Desktop/work/go_work/go-gpt/gpt/gpt.go:240 4. go-gpt/internal/controller.(*cHello).Hello /Users/cauto/Desktop/work/go_work/go-gpt/internal/controller/hello.go:31 5. github.com/gogf/gf/v2/net/ghttp.(*middleware).callHandlerFunc.func1 /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_request_middleware.go:152 6. github.com/gogf/gf/v2/net/ghttp.niceCallFunc /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_func.go:55 7. github.com/gogf/gf/v2/net/ghttp.(*middleware).callHandlerFunc /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_request_middleware.go:129 8. github.com/gogf/gf/v2/net/ghttp.(*middleware).Next.func1 /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_request_middleware.go:75 9. github.com/gogf/gf/v2/util/gutil.TryCatch /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/util/gutil/gutil.go:56 10. github.com/gogf/gf/v2/net/ghttp.(*middleware).Next /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_request_middleware.go:49 11. github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_middleware_tracing.go:78 12. github.com/gogf/gf/v2/net/ghttp.(*middleware).Next.func1.5 /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_request_middleware.go:96 13. github.com/gogf/gf/v2/net/ghttp.niceCallFunc /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_func.go:55 14. github.com/gogf/gf/v2/net/ghttp.(*middleware).Next.func1 /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_request_middleware.go:95 15. github.com/gogf/gf/v2/util/gutil.TryCatch /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/util/gutil/gutil.go:56 16. github.com/gogf/gf/v2/net/ghttp.(*middleware).Next /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_request_middleware.go:49 17. github.com/gogf/gf/v2/net/ghttp.(*Server).ServeHTTP /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_handler.go:132 2023-03-30 16:28:13.222 [INFO] pid[25950]: all servers shutdown 2023-03-30 16:28:15.221 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/ 2023-03-30 16:28:15.221 [INFO] pid[26049]: http server started listening on [:8080] 2023-03-30 16:28:15.222 [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 16:28:22.796 [ERRO] http: superfluous response.WriteHeader call from github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush (ghttp_response_writer.go:61) Stack: 1. github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response_writer.go:61 2. github.com/gogf/gf/v2/net/ghttp.(*Response).Flush /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response.go:165 3. github.com/gogf/gf/v2/net/ghttp.(*Server).ServeHTTP /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_handler.go:196 2023-03-30 16:35:57.712 [INFO] pid[26049]: all servers shutdown 2023-03-30 16:36:04.824 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/ 2023-03-30 16:36:04.824 [INFO] pid[26516]: http server started listening on [:8080] 2023-03-30 16:36:04.824 [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 16:36:12.439 [ERRO] http: superfluous response.WriteHeader call from github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush (ghttp_response_writer.go:61) Stack: 1. github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response_writer.go:61 2. github.com/gogf/gf/v2/net/ghttp.(*Response).Flush /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response.go:165 3. github.com/gogf/gf/v2/net/ghttp.(*Server).ServeHTTP /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_handler.go:196 2023-03-30 16:39:55.671 [INFO] pid[26516]: all servers shutdown 2023-03-30 16:39:56.880 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/ 2023-03-30 16:39:56.880 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json 2023-03-30 16:39:56.880 [INFO] pid[26772]: 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 | ----------|--------|------------|-----------------------------------------------------------------|-------------------- :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE ----------|--------|------------|-----------------------------------------------------------------|-------------------- 2023-03-30 16:40:05.948 [ERRO] http: superfluous response.WriteHeader call from github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush (ghttp_response_writer.go:61) Stack: 1. github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response_writer.go:61 2. github.com/gogf/gf/v2/net/ghttp.(*Response).Flush /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response.go:165 3. github.com/gogf/gf/v2/net/ghttp.(*Server).ServeHTTP /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_handler.go:196 2023-03-30 16:45:52.921 [INFO] pid[26772]: all servers shutdown 2023-03-30 16:45:54.925 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/ 2023-03-30 16:45:54.925 [INFO] pid[27169]: http server started listening on [:8080] 2023-03-30 16:45:54.926 [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 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 2023-03-30 18:09:57.079 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/ 2023-03-30 18:09:57.079 [INFO] pid[32556]: http server started listening on [:8080] 2023-03-30 18:09:57.079 [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 18:24:13.925 [INFO] pid[32556]: all servers shutdown