libra82

Results 2 issues of libra82

大侠指教一下,我在docker中运行服务报错,原因不明: 当使用MICRO_REGISTRY:mdns时,docker-compose run consignment-service 提示:2018/12/26 03:04:45 failed to serve: Failed to join multicast group on all interfaces! 当使用默认的consul时(consul已在docker中运行,通过http://localhost:8500都能访问到界面 ),提示:2018/12/26 03:09:56 failed to serve: Put http://127.0.0.1:8500/v1/agent/service/register: dial tcp 127.0.0.1:8500: connect: connection...

just like this: ` io.use((socket, next) => { const token = socket.handshake.auth.token; // ... }); ` Is there a example for golang? Thank you!