Documentation ¶
Overview ¶
Package server much of the code comes from https://tutorialedge.net/projects/chat-system-in-go-and-react/part-4-handling-multiple-clients/ Two main routes: - /ws creates a new websocket connection - /layouts?name=<name> retrieves a given layout, stored in a `json` file on the server
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartLocalServer ¶
func StartLocalServer(port int)
StartLocalServer creates a new server on localhost
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.