Comments (6)
You should get the latest version of gnet: go get -u github.com/panjf2000/gnet
from gnet.
D:\GoWorks>go get -u github.com/panjf2000/gnet
go: finding github.com/smartystreets-prototypes/go-disruptor latest
go: finding golang.org/x/sys latest
github.com/panjf2000/gnet
pkg\mod\github.com\panjf2000\[email protected]\gnet.go:129:4: undefined: sniffError
pkg\mod\github.com\panjf2000\[email protected]\gnet.go:159:14: too many arguments in call to serve
have (Events, []*listener, bool)
want (Events, []*listener)
D:\GoWorks>
from gnet.
That is odd, try: go get -u
from gnet.
I try it ,by now,the same problem
from gnet.
What about go get -u github.com/panjf2000/[email protected]
?
from gnet.
It works,thanks
from gnet.
Related Issues (20)
- [Question]: 应该如何支持 tls HOT 4
- [Feature]: 使用Engine.Stop退出时,会通过DefaultLogger输出很多错误日志 HOT 3
- [Question]: Why are http examples incompatible with MicroPython urequests
- [Bug]: bind: address already in use when using without reuseAddr parameter HOT 2
- UDP resets Context and creates new gnet.Conn OnTraffic() HOT 1
- [Feature]: 实现异步非阻塞的PacketConn接口,从而支持quic协议 HOT 2
- [Bug]: windows下的实现似乎有bug HOT 2
- [Question]: Does gnet support a websocket server that can handle different URL patterns HOT 1
- [Question]:详细的说明文档,说明什么情况下应用程序应该主动调用close方法呢 HOT 19
- [Question]: 请问 多网卡情况下,在 udp 的 OnTraffic 事件里面,怎么得到接收数据的网络接口呢 HOT 1
- [Question]: 请教运行在serverless中http的Keep-Alive应该如何配置 HOT 2
- [Question]: 数据超过65535时多次触发OnTraffic如何处理数据? HOT 2
- [Question]: 重启gnet.server需要如何做? HOT 6
- [Question]: 请问作者是否有异步读取的最佳实践示例呢? HOT 1
- [Question]:自定义codec中是否会存在接受header失败导致后续数据都无法正确获取的情况 HOT 1
- [Feature]: 添加pool来管理asyncwritev的内存, 以及客户端的api是否可以独立于服务端 HOT 7
- [Question]: IO Wait如何解决 HOT 3
- [Question]: conn_map.go:66 panic concurrent map read and map write HOT 2
- [Question]: 可疑的CPU占用 HOT 8
- [Question]: gnet打印很多error occurs in user-defined function, use of closed network connection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gnet.