Skip to content

viney/socketio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

版本更新


v0.0.1

2014-05-08 viney

  • 使用socket.io实现简易聊天室.

  • 服务端使用go-socket.io实现.

  • 客户端使用socket.io.js实现.

  • 由于服务端没找到获取IP的方法,有修改go-socket.io一点代码

  • server.go文件

    type SocketIOServer struct {
        ...
        *http.Request
    }
  • server.go文件
    func (srv *SocketIOServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
        srv.Request = r
        ...
    }

About

使用socket.io实现简易聊天室,服务端使用go-socketio,客户端使用socket.io.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published