Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NoSuchClientErr = errors.New("no such client is connected")
Functions ¶
This section is empty.
Types ¶
type ClientFunc ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) RunWithClient ¶
func (server *Server) RunWithClient(userUUID uuid.UUID, clientFunc ClientFunc) error
RunWithClient - Runs a function with a connected client protected by the client mutex
func (*Server) ServeWebsocket ¶
func (server *Server) ServeWebsocket(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.