-
Golang实现的CyberChat:一个基于WebSocket技术的实时聊天室系统
资源介绍
CyberChat
Description
采用WebSocket进行通信
后端使用Golang编写
前端使用React.JS
Required Tools
go or Docker Engine
npm
Deploy backend on Docker
Pull image from the command line:
docker pull docker.pkg.github.com/fffzlfk/cyberchat/backend:0.1
Use as base image in DockerFile:
FROM docker.pkg.github.com/fffzlfk/cyberchat/backend:0.1
Backend
cd src/backend
go run main.go [-p $port] # -p为可选参数 用来指定端口号,默认为8080
Fronten