Go语言开源mtproto服务器,兼容telegram客户端
首先,我们假设您已经有基本的golang基础,至少知道GOROOT,GOPATH这些概念。
mkdir $GOPATH/src/github.com/nebulaim/
cd $GOPATH/src/github.com/nebulaim/
git clone https://github.com/nebulaim/telegramd.git
编译frontend
cd $GOPATH/src/github.com/nebulaim/telegramd/access/frontend
go get
go build
编译session
cd $GOPATH/src/github.com/nebulaim/telegramd/access/session
go get
go build
编译sync
cd $GOPATH/src/github.com/nebulaim/telegramd/push/sync
go get
go build
编译biz_server
cd $GOPATH/src/github.com/nebulaim/telegramd/biz_server
go get
go build
cd $GOPATH/src/github.com/nebulaim/telegramd/access/frontend
./frontend
cd $GOPATH/src/github.com/nebulaim/telegramd/access/session
./session
cd $GOPATH/src/github.com/nebulaim/telegramd/push/sync
./sync
cd $GOPATH/src/github.com/nebulaim/telegramd/biz_server
./biz_server
open source mtproto server implement by golang, which compatible telegram client.