Documentation ¶
Index ¶
Constants ¶
View Source
const MAX_BLOCK_AGE = 60 * 5
seconds
Variables ¶
This section is empty.
Functions ¶
func AuthenticatedHandler ¶
func AuthenticatedHandler(w http.ResponseWriter, r *http.Request)
func LoginHandler ¶
Validates signed payload with latest block number Block has to maximum MAX_BLOCK_AGE old
func LogoutHandler ¶
func LogoutHandler(w http.ResponseWriter, r *http.Request)
Types ¶
Click to show internal directories.
Click to hide internal directories.