2023-03-30.log 54 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587
  1. 2023-03-30 16:08:07.159 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  2. 2023-03-30 16:08:07.159 [INFO] pid[24566]: http server started listening on [:8080]
  3. 2023-03-30 16:08:07.160 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  4. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  5. ----------|--------|------------|-----------------------------------------------------------------|----------------------------------
  6. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  7. ----------|--------|------------|-----------------------------------------------------------------|----------------------------------
  8. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  9. ----------|--------|------------|-----------------------------------------------------------------|----------------------------------
  10. :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello | ghttp.MiddlewareHandlerResponse
  11. ----------|--------|------------|-----------------------------------------------------------------|----------------------------------
  12. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  13. ----------|--------|------------|-----------------------------------------------------------------|----------------------------------
  14. 2023-03-30 16:11:54.790 [INFO] pid[24566]: all servers shutdown
  15. 2023-03-30 16:11:56.888 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  16. 2023-03-30 16:11:56.888 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  17. 2023-03-30 16:11:56.888 [INFO] pid[24815]: http server started listening on [:8080]
  18. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  19. ----------|--------|--------------------|-----------------------------------------------------------------|----------------------------------
  20. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  21. ----------|--------|--------------------|-----------------------------------------------------------------|----------------------------------
  22. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  23. ----------|--------|--------------------|-----------------------------------------------------------------|----------------------------------
  24. :8080 | POST | /hello/hello/hello | go-gpt/internal/controller.(*cHello).Hello | ghttp.MiddlewareHandlerResponse
  25. | | | | router.MiddlewareCORS
  26. ----------|--------|--------------------|-----------------------------------------------------------------|----------------------------------
  27. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  28. ----------|--------|--------------------|-----------------------------------------------------------------|----------------------------------
  29. 2023-03-30 16:12:38.262 [INFO] pid[24815]: all servers shutdown
  30. 2023-03-30 16:12:40.330 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  31. 2023-03-30 16:12:40.330 [INFO] pid[24883]: http server started listening on [:8080]
  32. 2023-03-30 16:12:40.330 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  33. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  34. ----------|--------|--------------|-----------------------------------------------------------------|----------------------------------
  35. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  36. ----------|--------|--------------|-----------------------------------------------------------------|----------------------------------
  37. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  38. ----------|--------|--------------|-----------------------------------------------------------------|----------------------------------
  39. :8080 | POST | /hello/hello | go-gpt/internal/controller.(*cHello).Hello | ghttp.MiddlewareHandlerResponse
  40. | | | | router.MiddlewareCORS
  41. ----------|--------|--------------|-----------------------------------------------------------------|----------------------------------
  42. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  43. ----------|--------|--------------|-----------------------------------------------------------------|----------------------------------
  44. 2023-03-30 16:13:00.353 [INFO] pid[24883]: all servers shutdown
  45. 2023-03-30 16:13:01.741 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  46. 2023-03-30 16:13:01.741 [INFO] pid[24936]: http server started listening on [:8080]
  47. 2023-03-30 16:13:01.741 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  48. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  49. ----------|--------|------------|-----------------------------------------------------------------|----------------------------------
  50. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  51. ----------|--------|------------|-----------------------------------------------------------------|----------------------------------
  52. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  53. ----------|--------|------------|-----------------------------------------------------------------|----------------------------------
  54. :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello | ghttp.MiddlewareHandlerResponse
  55. | | | | router.MiddlewareCORS
  56. ----------|--------|------------|-----------------------------------------------------------------|----------------------------------
  57. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  58. ----------|--------|------------|-----------------------------------------------------------------|----------------------------------
  59. 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)
  60. Stack:
  61. 1. github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush
  62. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response_writer.go:61
  63. 2. github.com/gogf/gf/v2/net/ghttp.(*Response).Flush
  64. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response.go:165
  65. 3. github.com/gogf/gf/v2/net/ghttp.(*Server).ServeHTTP
  66. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_handler.go:196
  67. 2023-03-30 16:16:09.608 [INFO] pid[24936]: all servers shutdown
  68. 2023-03-30 16:16:11.628 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  69. 2023-03-30 16:16:11.628 [INFO] pid[25141]: http server started listening on [:8080]
  70. 2023-03-30 16:16:11.628 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  71. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  72. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  73. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  74. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  75. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  76. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  77. :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello |
  78. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  79. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  80. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  81. 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)
  82. Stack:
  83. 1. github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush
  84. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response_writer.go:61
  85. 2. github.com/gogf/gf/v2/net/ghttp.(*Response).Flush
  86. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response.go:165
  87. 3. github.com/gogf/gf/v2/net/ghttp.(*Server).ServeHTTP
  88. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_handler.go:196
  89. 2023-03-30 16:18:25.062 [INFO] pid[25141]: all servers shutdown
  90. 2023-03-30 16:18:27.174 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  91. 2023-03-30 16:18:27.174 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  92. 2023-03-30 16:18:27.174 [INFO] pid[25317]: http server started listening on [:8080]
  93. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  94. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  95. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  96. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  97. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  98. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  99. :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello |
  100. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  101. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  102. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  103. 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)
  104. Stack:
  105. 1. github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush
  106. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response_writer.go:61
  107. 2. github.com/gogf/gf/v2/net/ghttp.(*Response).Flush
  108. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response.go:165
  109. 3. github.com/gogf/gf/v2/net/ghttp.(*Server).ServeHTTP
  110. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_handler.go:196
  111. 2023-03-30 16:21:05.124 [INFO] pid[25317]: all servers shutdown
  112. 2023-03-30 16:21:07.182 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  113. 2023-03-30 16:21:07.181 [INFO] pid[25505]: http server started listening on [:8080]
  114. 2023-03-30 16:21:07.182 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  115. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  116. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  117. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  118. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  119. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  120. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  121. :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello |
  122. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  123. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  124. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  125. 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)
  126. Stack:
  127. 1. github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush
  128. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response_writer.go:61
  129. 2. github.com/gogf/gf/v2/net/ghttp.(*Response).Flush
  130. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response.go:165
  131. 3. github.com/gogf/gf/v2/net/ghttp.(*Server).ServeHTTP
  132. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_handler.go:196
  133. 2023-03-30 16:22:42.330 [INFO] pid[25505]: all servers shutdown
  134. 2023-03-30 16:22:44.354 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  135. 2023-03-30 16:22:44.354 [INFO] pid[25645]: http server started listening on [:8080]
  136. 2023-03-30 16:22:44.355 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  137. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  138. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  139. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  140. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  141. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  142. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  143. :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello |
  144. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  145. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  146. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  147. 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)
  148. Stack:
  149. 1. github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush
  150. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response_writer.go:61
  151. 2. github.com/gogf/gf/v2/net/ghttp.(*Response).Flush
  152. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response.go:165
  153. 3. github.com/gogf/gf/v2/net/ghttp.(*Server).ServeHTTP
  154. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_handler.go:196
  155. 2023-03-30 16:26:14.128 [INFO] pid[25645]: all servers shutdown
  156. 2023-03-30 16:26:16.087 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  157. 2023-03-30 16:26:16.087 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  158. 2023-03-30 16:26:16.087 [INFO] pid[25879]: http server started listening on [:8080]
  159. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  160. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  161. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  162. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  163. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  164. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  165. :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello |
  166. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  167. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  168. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  169. 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)
  170. Stack:
  171. 1. github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush
  172. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response_writer.go:61
  173. 2. github.com/gogf/gf/v2/net/ghttp.(*Response).Flush
  174. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response.go:165
  175. 3. github.com/gogf/gf/v2/net/ghttp.(*Server).ServeHTTP
  176. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_handler.go:196
  177. 2023-03-30 16:26:58.535 [INFO] pid[25879]: all servers shutdown
  178. 2023-03-30 16:27:00.565 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  179. 2023-03-30 16:27:00.565 [INFO] pid[25950]: http server started listening on [:8080]
  180. 2023-03-30 16:27:00.565 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  181. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  182. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  183. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  184. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  185. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  186. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  187. :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello |
  188. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  189. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  190. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  191. 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)
  192. Stack:
  193. 1. github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush
  194. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response_writer.go:61
  195. 2. go-gpt/internal/controller.(*cHello).Hello.func1
  196. /Users/cauto/Desktop/work/go_work/go-gpt/internal/controller/hello.go:53
  197. 3. go-gpt/gpt.(*client).ChatCompletionStream
  198. /Users/cauto/Desktop/work/go_work/go-gpt/gpt/gpt.go:240
  199. 4. go-gpt/internal/controller.(*cHello).Hello
  200. /Users/cauto/Desktop/work/go_work/go-gpt/internal/controller/hello.go:31
  201. 5. github.com/gogf/gf/v2/net/ghttp.(*middleware).callHandlerFunc.func1
  202. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_request_middleware.go:152
  203. 6. github.com/gogf/gf/v2/net/ghttp.niceCallFunc
  204. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_func.go:55
  205. 7. github.com/gogf/gf/v2/net/ghttp.(*middleware).callHandlerFunc
  206. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_request_middleware.go:129
  207. 8. github.com/gogf/gf/v2/net/ghttp.(*middleware).Next.func1
  208. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_request_middleware.go:75
  209. 9. github.com/gogf/gf/v2/util/gutil.TryCatch
  210. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/util/gutil/gutil.go:56
  211. 10. github.com/gogf/gf/v2/net/ghttp.(*middleware).Next
  212. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_request_middleware.go:49
  213. 11. github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing
  214. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_middleware_tracing.go:78
  215. 12. github.com/gogf/gf/v2/net/ghttp.(*middleware).Next.func1.5
  216. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_request_middleware.go:96
  217. 13. github.com/gogf/gf/v2/net/ghttp.niceCallFunc
  218. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_func.go:55
  219. 14. github.com/gogf/gf/v2/net/ghttp.(*middleware).Next.func1
  220. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_request_middleware.go:95
  221. 15. github.com/gogf/gf/v2/util/gutil.TryCatch
  222. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/util/gutil/gutil.go:56
  223. 16. github.com/gogf/gf/v2/net/ghttp.(*middleware).Next
  224. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_request_middleware.go:49
  225. 17. github.com/gogf/gf/v2/net/ghttp.(*Server).ServeHTTP
  226. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_handler.go:132
  227. 2023-03-30 16:28:13.222 [INFO] pid[25950]: all servers shutdown
  228. 2023-03-30 16:28:15.221 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  229. 2023-03-30 16:28:15.221 [INFO] pid[26049]: http server started listening on [:8080]
  230. 2023-03-30 16:28:15.222 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  231. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  232. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  233. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  234. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  235. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  236. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  237. :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello |
  238. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  239. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  240. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  241. 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)
  242. Stack:
  243. 1. github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush
  244. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response_writer.go:61
  245. 2. github.com/gogf/gf/v2/net/ghttp.(*Response).Flush
  246. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response.go:165
  247. 3. github.com/gogf/gf/v2/net/ghttp.(*Server).ServeHTTP
  248. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_handler.go:196
  249. 2023-03-30 16:35:57.712 [INFO] pid[26049]: all servers shutdown
  250. 2023-03-30 16:36:04.824 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  251. 2023-03-30 16:36:04.824 [INFO] pid[26516]: http server started listening on [:8080]
  252. 2023-03-30 16:36:04.824 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  253. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  254. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  255. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  256. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  257. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  258. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  259. :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello |
  260. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  261. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  262. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  263. 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)
  264. Stack:
  265. 1. github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush
  266. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response_writer.go:61
  267. 2. github.com/gogf/gf/v2/net/ghttp.(*Response).Flush
  268. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response.go:165
  269. 3. github.com/gogf/gf/v2/net/ghttp.(*Server).ServeHTTP
  270. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_handler.go:196
  271. 2023-03-30 16:39:55.671 [INFO] pid[26516]: all servers shutdown
  272. 2023-03-30 16:39:56.880 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  273. 2023-03-30 16:39:56.880 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  274. 2023-03-30 16:39:56.880 [INFO] pid[26772]: http server started listening on [:8080]
  275. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  276. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  277. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  278. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  279. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  280. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  281. :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello |
  282. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  283. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  284. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  285. 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)
  286. Stack:
  287. 1. github.com/gogf/gf/v2/net/ghttp.(*ResponseWriter).Flush
  288. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response_writer.go:61
  289. 2. github.com/gogf/gf/v2/net/ghttp.(*Response).Flush
  290. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_response.go:165
  291. 3. github.com/gogf/gf/v2/net/ghttp.(*Server).ServeHTTP
  292. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_handler.go:196
  293. 2023-03-30 16:45:52.921 [INFO] pid[26772]: all servers shutdown
  294. 2023-03-30 16:45:54.925 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  295. 2023-03-30 16:45:54.925 [INFO] pid[27169]: http server started listening on [:8080]
  296. 2023-03-30 16:45:54.926 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  297. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  298. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  299. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  300. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  301. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  302. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  303. :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello |
  304. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  305. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  306. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  307. 2023-03-30 16:50:41.718 [INFO] pid[27169]: all servers shutdown
  308. 2023-03-30 17:21:26.567 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  309. 2023-03-30 17:21:26.567 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  310. 2023-03-30 17:21:26.567 [INFO] pid[29373]: http server started listening on [:8080]
  311. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  312. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  313. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  314. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  315. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  316. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  317. :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello | ghttp.MiddlewareHandlerResponse
  318. | | | | router.(*RateLimitMiddleware).Middleware
  319. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  320. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  321. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  322. 2023-03-30 17:24:26.678 [INFO] pid[29373]: all servers shutdown
  323. 2023-03-30 17:24:28.794 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  324. 2023-03-30 17:24:28.794 [INFO] pid[29577]: http server started listening on [:8080]
  325. 2023-03-30 17:24:28.794 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  326. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  327. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  328. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  329. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  330. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  331. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  332. :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello | ghttp.MiddlewareHandlerResponse
  333. | | | | router.(*RateLimitMiddleware).Middleware
  334. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  335. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  336. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  337. 2023-03-30 17:25:01.574 [INFO] pid[29577]: all servers shutdown
  338. 2023-03-30 17:25:03.581 [INFO] pid[29645]: http server started listening on [:8080]
  339. 2023-03-30 17:25:03.581 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  340. 2023-03-30 17:25:03.581 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  341. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  342. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  343. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  344. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  345. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  346. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  347. :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello | ghttp.MiddlewareHandlerResponse
  348. | | | | router.(*RateLimitMiddleware).Middleware
  349. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  350. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  351. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  352. 2023-03-30 17:26:51.323 [INFO] pid[29645]: all servers shutdown
  353. 2023-03-30 17:26:53.487 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  354. 2023-03-30 17:26:53.487 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  355. 2023-03-30 17:26:53.487 [INFO] pid[29796]: http server started listening on [:8080]
  356. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  357. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  358. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  359. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  360. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  361. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  362. :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello | ghttp.MiddlewareHandlerResponse
  363. | | | | router.(*RateLimitMiddleware).Middleware
  364. | | | | ghttp.MiddlewareHandlerResponse
  365. | | | | router.MiddlewareCORS
  366. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  367. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  368. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  369. 2023-03-30 17:28:32.405 [INFO] pid[29796]: all servers shutdown
  370. 2023-03-30 17:28:34.439 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  371. 2023-03-30 17:28:34.439 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  372. 2023-03-30 17:28:34.439 [INFO] pid[29933]: http server started listening on [:8080]
  373. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  374. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  375. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  376. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  377. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  378. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  379. :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello | ghttp.MiddlewareHandlerResponse
  380. | | | | router.(*RateLimitMiddleware).Middleware
  381. | | | | ghttp.MiddlewareHandlerResponse
  382. | | | | router.MiddlewareCORS
  383. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  384. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  385. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  386. 2023-03-30 17:30:37.790 [INFO] pid[29933]: all servers shutdown
  387. 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
  388. 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
  389. 1). github.com/gogf/gf/v2/net/ghttp.(*Server).checkAndCreateFuncInfo
  390. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_service_handler.go:152
  391. 2). github.com/gogf/gf/v2/net/ghttp.(*Server).doBindObject
  392. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_service_object.go:132
  393. 3). github.com/gogf/gf/v2/net/ghttp.(*RouterGroup).doBindRoutersToServer
  394. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_router_group.go:391
  395. 4). github.com/gogf/gf/v2/net/ghttp.(*Server).handlePreBindItems
  396. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_router_group.go:71
  397. 5). github.com/gogf/gf/v2/net/ghttp.(*Server).Start
  398. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server.go:140
  399. 6). github.com/gogf/gf/v2/net/ghttp.(*Server).Run
  400. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server.go:424
  401. 7). go-gpt/internal/cmd.glob..func1
  402. /Users/cauto/Desktop/work/go_work/go-gpt/internal/cmd/cmd.go:32
  403. 8). github.com/gogf/gf/v2/os/gcmd.(*Command).doRun
  404. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:149
  405. 9). github.com/gogf/gf/v2/os/gcmd.(*Command).RunWithValueError
  406. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:82
  407. 10). github.com/gogf/gf/v2/os/gcmd.(*Command).RunWithValue
  408. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:41
  409. 11). github.com/gogf/gf/v2/os/gcmd.(*Command).Run
  410. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:35
  411. 12). main.main
  412. /Users/cauto/Desktop/work/go_work/go-gpt/main.go:12
  413. Stack:
  414. 1. github.com/gogf/gf/v2/net/ghttp.(*Server).doBindObject
  415. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_service_object.go:134
  416. 2. github.com/gogf/gf/v2/net/ghttp.(*RouterGroup).doBindRoutersToServer
  417. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_router_group.go:391
  418. 3. github.com/gogf/gf/v2/net/ghttp.(*Server).handlePreBindItems
  419. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_router_group.go:71
  420. 4. github.com/gogf/gf/v2/net/ghttp.(*Server).Start
  421. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server.go:140
  422. 5. github.com/gogf/gf/v2/net/ghttp.(*Server).Run
  423. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server.go:424
  424. 6. go-gpt/internal/cmd.glob..func1
  425. /Users/cauto/Desktop/work/go_work/go-gpt/internal/cmd/cmd.go:32
  426. 7. github.com/gogf/gf/v2/os/gcmd.(*Command).doRun
  427. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:149
  428. 8. github.com/gogf/gf/v2/os/gcmd.(*Command).RunWithValueError
  429. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:82
  430. 9. github.com/gogf/gf/v2/os/gcmd.(*Command).RunWithValue
  431. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:41
  432. 10. github.com/gogf/gf/v2/os/gcmd.(*Command).Run
  433. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:35
  434. 11. main.main
  435. /Users/cauto/Desktop/work/go_work/go-gpt/main.go:12
  436. 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
  437. 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
  438. 1). github.com/gogf/gf/v2/net/ghttp.(*Server).checkAndCreateFuncInfo
  439. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_service_handler.go:152
  440. 2). github.com/gogf/gf/v2/net/ghttp.(*Server).doBindObject
  441. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_service_object.go:132
  442. 3). github.com/gogf/gf/v2/net/ghttp.(*RouterGroup).doBindRoutersToServer
  443. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_router_group.go:391
  444. 4). github.com/gogf/gf/v2/net/ghttp.(*Server).handlePreBindItems
  445. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_router_group.go:71
  446. 5). github.com/gogf/gf/v2/net/ghttp.(*Server).Start
  447. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server.go:140
  448. 6). github.com/gogf/gf/v2/net/ghttp.(*Server).Run
  449. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server.go:424
  450. 7). go-gpt/internal/cmd.glob..func1
  451. /Users/cauto/Desktop/work/go_work/go-gpt/internal/cmd/cmd.go:32
  452. 8). github.com/gogf/gf/v2/os/gcmd.(*Command).doRun
  453. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:149
  454. 9). github.com/gogf/gf/v2/os/gcmd.(*Command).RunWithValueError
  455. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:82
  456. 10). github.com/gogf/gf/v2/os/gcmd.(*Command).RunWithValue
  457. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:41
  458. 11). github.com/gogf/gf/v2/os/gcmd.(*Command).Run
  459. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:35
  460. 12). main.main
  461. /Users/cauto/Desktop/work/go_work/go-gpt/main.go:12
  462. Stack:
  463. 1. github.com/gogf/gf/v2/net/ghttp.(*Server).doBindObject
  464. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_service_object.go:134
  465. 2. github.com/gogf/gf/v2/net/ghttp.(*RouterGroup).doBindRoutersToServer
  466. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_router_group.go:391
  467. 3. github.com/gogf/gf/v2/net/ghttp.(*Server).handlePreBindItems
  468. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server_router_group.go:71
  469. 4. github.com/gogf/gf/v2/net/ghttp.(*Server).Start
  470. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server.go:140
  471. 5. github.com/gogf/gf/v2/net/ghttp.(*Server).Run
  472. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/net/ghttp/ghttp_server.go:424
  473. 6. go-gpt/internal/cmd.glob..func1
  474. /Users/cauto/Desktop/work/go_work/go-gpt/internal/cmd/cmd.go:32
  475. 7. github.com/gogf/gf/v2/os/gcmd.(*Command).doRun
  476. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:149
  477. 8. github.com/gogf/gf/v2/os/gcmd.(*Command).RunWithValueError
  478. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:82
  479. 9. github.com/gogf/gf/v2/os/gcmd.(*Command).RunWithValue
  480. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:41
  481. 10. github.com/gogf/gf/v2/os/gcmd.(*Command).Run
  482. /Users/cauto/Desktop/work/gopath/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcmd/gcmd_command_run.go:35
  483. 11. main.main
  484. /Users/cauto/Desktop/work/go_work/go-gpt/main.go:12
  485. 2023-03-30 17:33:10.576 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  486. 2023-03-30 17:33:10.576 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  487. 2023-03-30 17:33:10.576 [INFO] pid[30308]: http server started listening on [:8080]
  488. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  489. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  490. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  491. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  492. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  493. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  494. :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello | ghttp.MiddlewareHandlerResponse
  495. | | | | router.(*RateLimitMiddleware).Middleware
  496. | | | | ghttp.MiddlewareHandlerResponse
  497. | | | | router.MiddlewareCORS
  498. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  499. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  500. ----------|--------|------------|-----------------------------------------------------------------|-------------------------------------------
  501. 2023-03-30 17:50:11.038 [INFO] pid[30308]: all servers shutdown
  502. 2023-03-30 17:50:13.509 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  503. 2023-03-30 17:50:13.509 [INFO] pid[31336]: http server started listening on [:8080]
  504. 2023-03-30 17:50:13.509 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  505. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  506. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  507. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  508. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  509. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  510. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  511. :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello |
  512. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  513. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  514. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  515. 2023-03-30 17:51:20.779 [INFO] pid[31336]: all servers shutdown
  516. 2023-03-30 18:09:57.079 [INFO] swagger ui is serving at address: http://127.0.0.1:8080/swagger/
  517. 2023-03-30 18:09:57.079 [INFO] pid[32556]: http server started listening on [:8080]
  518. 2023-03-30 18:09:57.079 [INFO] openapi specification is serving at address: http://127.0.0.1:8080/api.json
  519. ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
  520. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  521. :8080 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
  522. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  523. :8080 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
  524. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  525. :8080 | POST | /hello | go-gpt/internal/controller.(*cHello).Hello |
  526. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  527. :8080 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
  528. ----------|--------|------------|-----------------------------------------------------------------|--------------------
  529. 2023-03-30 18:24:13.925 [INFO] pid[32556]: all servers shutdown