基于go开发的聊天室
chitchat()go
go
[email protected] 123456
test(19)@qq.com 123456
config.json
{
"App": { //
"Address": "0.0.0.0:8080", //
"Static": "public", //
"Log": "logs", //
"StaticPath": "http://127.0.0.1/static/" //
},
"Db": { //
"Driver": "mysql",
"Address": "192.168.10.10:3306", //
"Database": "chitchat", //
"User": "homestead", //
"Password": "secret" //
},
"OSS": {
//true falseoss Key
"IsSaveLocal": true,
"AccessKeyID": "xxx",
"AccessKeySecret": "xxxx",
"Bucket": "xxx",
"BucketUrl": "xxx"
}
}
chitchat_2020-04-28.sql orm
go run main.go
,
./chitchat
<img src="https://github.com/wuqinqiang/go-barrage/blob/master/chat.png">
()
<img src="https://github.com/wuqinqiang/go-barrage/blob/master/user.png">
<img src="https://github.com/wuqinqiang/go-barrage/blob/master/handle.png">
nginx , Supervisor ,dockerdocker ps.
,issue,