123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587 |
- 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
|