Documentation ¶ Index ¶ func GenToken(length int) string func GetToken(field string, req *http.Request) (string, error) func StoreToken(field string, token string, w http.ResponseWriter, ttl int) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GenToken ¶ func GenToken(length int) string func GetToken ¶ func GetToken(field string, req *http.Request) (string, error) func StoreToken ¶ func StoreToken(field string, token string, w http.ResponseWriter, ttl int) Types ¶ This section is empty. Source Files ¶ View all Source files cookie.go Click to show internal directories. Click to hide internal directories.