Documentation
¶
Index ¶
Constants ¶
View Source
const ( WebsocketListenBacklog = 512 WebsocketAcceptTimeout = 3 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebsocketListener ¶
type WebsocketListener struct {
// contains filtered or unexported fields
}
func ListenWebsocket ¶
ListenWebsocket wrap a listener to a websocket listener
func (*WebsocketListener) Addr ¶
func (lis *WebsocketListener) Addr() net.Addr
func (*WebsocketListener) Close ¶
func (lis *WebsocketListener) Close() error
Click to show internal directories.
Click to hide internal directories.