Documentation
¶
Overview ¶
Package backend provides the server backend with various socket implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendSocket ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) OnNewSocketConnection ¶
func (s *Server) OnNewSocketConnection(f func(BackendSocket))
OnNewSocketConnection sets the event function which is triggered if a new socket connection was made.
Directories
¶
Path | Synopsis |
---|---|
Emit a close function only once, also if called multiple times.
|
Emit a close function only once, also if called multiple times. |
Package global provides global types and constants for the backend packages.
|
Package global provides global types and constants for the backend packages. |
sockets
|
|
ajaxsocket
Package ajaxsocket provides the ajax socket implementation.
|
Package ajaxsocket provides the ajax socket implementation. |
Click to show internal directories.
Click to hide internal directories.