Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteRequest ¶
func WriteRequest(writer io.Writer, req *WebsocketConnectionRequest) error
Types ¶
type WebsocketConnectionRequest ¶
type WebsocketConnectionRequest struct { DestinationSize uint32 `struc:"uint32,big,sizeof=Destination"` Destination string ProtocolStringSize uint32 `struc:"uint32,big,sizeof=ProtocolString"` ProtocolString string }
func ReadRequest ¶
func ReadRequest(reader io.Reader) (error, *WebsocketConnectionRequest)
type WebsocketLength ¶
Click to show internal directories.
Click to hide internal directories.