api

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2022 License: MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL