Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserConn ¶
type UserConn interface { ReadRequest() ([]byte, error) ReadRequestParams() map[string]string WriteResponse(msg []byte) error SupportsSubscriptions() bool IsClosed() bool GetHTTPRequest() *http.Request }
UserConn represents a connection to a user.
func NewUserConnHTTP ¶
func NewUserConnWS ¶
Click to show internal directories.
Click to hide internal directories.