Documentation ¶
Overview ¶
Package socketio provides a very-incomplete client implementation of the socket.io protocol using websockets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Type Client reperesents a connection to a socket.io server.
type ConnectMessage ¶
type ConnectMessage struct{}
Type ConnectMessage represents a connection message. It is returned by Read.
type DisconnectMessage ¶
type DisconnectMessage struct{}
Type DisconnectMessage represents a disconnection message. It is returned by Read.
type ErrorMessage ¶
type ErrorMessage struct{}
Type ErrorMessage represents an error message. It is returned by Read.
type EventMessage ¶
type EventMessage struct { Event string Data []interface{} }
Type EventMessage represents an event message. It is returned by Read.
type Message ¶
type Message interface{}
Type Message represents a socketio message. It is returned by Read.
type PongMessage ¶
type PongMessage struct{}
Type PongMessage represents a pong message. It is returned by Read.
Click to show internal directories.
Click to hide internal directories.