livechan:用 Go 编写的聊天服务器

时间:2021-06-18 15:32:23
【文件属性】:
文件名称:livechan:用 Go 编写的聊天服务器
文件大小:19KB
文件格式:ZIP
更新时间:2021-06-18 15:32:23
Go 现场直播 用 Go 编写的聊天服务器。 安装 安装去。 安装 gorilla/websocket。 go get github.com/gorilla/websocket 安装验证码库 go get github.com/dchest/captcha 安装 sqlite3 驱动程序。 go get github.com/mattn/go-sqlite3 获取源代码。 git clone https://github.com/emgram769/livechan.git 运行服务器。 go run *.go 打开浏览器并转到localhost:8080 。
【文件预览】:
livechan-master
----utils.go(265B)
----index.html(618B)
----channel.go(585B)
----database.go(11KB)
----chat.go(3KB)
----connection.go(2KB)
----tools()
--------addchan.sh(203B)
----README.md(446B)
----server.go(591B)
----user.go(923B)
----http.go(3KB)
----upload.go(846B)
----.gitignore(58B)
----hub.go(1KB)
----static()
--------chat.js(13KB)
--------main.js(2KB)
--------chat.css(2KB)
--------contrib()
--------theme()

网友评论