-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在 Leaf 中如何与HTTP服务器通讯 #39
Comments
可以使用 Go 的 net/http 包并使用 ChanRPC 进行通讯。 |
@name5566 |
独立启动一个 goroutine 进行 ListenAndServe,不要用 skeleton.Go 来创建这个独立的 goroutine |
可以出一个http_network |
@name5566 现在需要使用 Leaf 做一个管理后台,在 game 模块的什么地方启动 一个独立的 goroutine 进行 http.ListenAndServe 才比较好? |
不知道用发送http给leaf的conslo,来实现gm行不行? |
比如我要接入微信支付、支付宝,要访问一些http/https的接口,是直接用Go提供的net/http包吗?
The text was updated successfully, but these errors were encountered: