├── .DS_Store ├── .gitignore ├── .vscode ├── launch.json └── settings.json ├── README.md ├── config ├── README.md └── config.go ├── example.md ├── example ├── Makefile ├── README.md ├── client.go └── server.go ├── go.mod ├── go.sum ├── library ├── README.md ├── helper.go └── helper_test.go ├── request_test.go ├── route.go ├── server.go ├── server_test.go └── service ├── README.md ├── client.go ├── default_dispatcher.go ├── dispatcher.go ├── user.go ├── user_test.go └── websocket.go /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/.DS_Store -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "go.inferGopath": false 3 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/README.md -------------------------------------------------------------------------------- /config/README.md: -------------------------------------------------------------------------------- 1 | 这里放配置 -------------------------------------------------------------------------------- /config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/config/config.go -------------------------------------------------------------------------------- /example.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/example.md -------------------------------------------------------------------------------- /example/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/example/Makefile -------------------------------------------------------------------------------- /example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/example/README.md -------------------------------------------------------------------------------- /example/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/example/client.go -------------------------------------------------------------------------------- /example/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/example/server.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/go.sum -------------------------------------------------------------------------------- /library/README.md: -------------------------------------------------------------------------------- 1 | 这里放各种工具 -------------------------------------------------------------------------------- /library/helper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/library/helper.go -------------------------------------------------------------------------------- /library/helper_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/library/helper_test.go -------------------------------------------------------------------------------- /request_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/request_test.go -------------------------------------------------------------------------------- /route.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/route.go -------------------------------------------------------------------------------- /server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/server.go -------------------------------------------------------------------------------- /server_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/server_test.go -------------------------------------------------------------------------------- /service/README.md: -------------------------------------------------------------------------------- 1 | 这里放业务 -------------------------------------------------------------------------------- /service/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/service/client.go -------------------------------------------------------------------------------- /service/default_dispatcher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/service/default_dispatcher.go -------------------------------------------------------------------------------- /service/dispatcher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/service/dispatcher.go -------------------------------------------------------------------------------- /service/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/service/user.go -------------------------------------------------------------------------------- /service/user_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/service/user_test.go -------------------------------------------------------------------------------- /service/websocket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaopengfei123123/chat/HEAD/service/websocket.go --------------------------------------------------------------------------------