Documentation ¶
Index ¶
Constants ¶
View Source
const HelloPath = "/hello"
Variables ¶
This section is empty.
Functions ¶
func HelloHandler ¶
func HelloHandler(w http.ResponseWriter, r *http.Request)
HelloHandler sets up the initial communication with the client, establishing a session. It responds with the current unix time so that the client knows the current world time from the server, rather than relying on the client's current time setting, which might be wrong. The default session handler will require that the client supports cookies.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.