git clone https://github.com/gogf/gf-demo-chat
ADDRESS | METHOD | ROUTE | HANDLER | MIDDLEWARE
----------|--------|-----------------|------------------------------------------------------------------------|--------------------
:8199 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing | GLOBAL MIDDLEWARE
----------|--------|-----------------|------------------------------------------------------------------------|--------------------
:8199 | ALL | /* | github.com/gogf/gf/v2/net/ghttp.MiddlewareHandlerResponse | GLOBAL MIDDLEWARE
----------|--------|-----------------|------------------------------------------------------------------------|--------------------
:8199 | ALL | /api.json | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec |
----------|--------|-----------------|------------------------------------------------------------------------|--------------------
:8199 | GET | /chat | github.com/gogf/gf-demo-chat/v2/internal/controller.(*hChat).Index |
----------|--------|-----------------|------------------------------------------------------------------------|--------------------
:8199 | POST | /chat/name | github.com/gogf/gf-demo-chat/v2/internal/controller.(*hChat).Name |
----------|--------|-----------------|------------------------------------------------------------------------|--------------------
:8199 | GET | /chat/websocket | github.com/gogf/gf-demo-chat/v2/internal/controller.(*hChat).Websocket |
----------|--------|-----------------|------------------------------------------------------------------------|--------------------
:8199 | ALL | /swagger/* | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI | HOOK_BEFORE_SERVE
----------|--------|-----------------|------------------------------------------------------------------------|--------------------
- https://goframe.org (中文)