Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connection ¶
type Connection struct { Events chan *event Deadline time.Time SessionId int // contains filtered or unexported fields }
func (*Connection) Close ¶
func (c *Connection) Close()
func (*Connection) Listen ¶
func (c *Connection) Listen()
func (*Connection) Send ¶
func (c *Connection) Send(body string)
func (*Connection) TimeOutEvent ¶
func (c *Connection) TimeOutEvent()
type SocketServer ¶
type SocketServer struct {
// contains filtered or unexported fields
}
func GetServer ¶
func GetServer() *SocketServer
func (*SocketServer) Dispatch ¶
func (s *SocketServer) Dispatch(url, body string)
func (*SocketServer) Start ¶
func (s *SocketServer) Start()
Click to show internal directories.
Click to hide internal directories.