Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(w http.ResponseWriter, r *http.Request, recv talk.ReceiveFun) (*talk.Agent, error)
NewServer creates a talking agent wrapping a websocket server.
func ResizePollerPool ¶
func ResizePollerPool(n int)
ResizePollerPool initializes the poller pool to the desired number of netpoll pollers, which will be used by the websocket connections.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.