Documentation ¶
Index ¶
- Constants
- func ConfigMap(req *http.Request) (data.EnvMap, error)
- func GetErrorOnRequest(w http.ResponseWriter, req *http.Request) string
- func GetID(r *http.Request) (uuid.UUID, error)
- func Open(resource string) error
- func SetErrorCookie(w http.ResponseWriter, err string)
- func SetNewID(w http.ResponseWriter) error
Constants ¶
View Source
const ( IDCookieName = "sqump-id" ErrCookieName = "sqump-error" )
Variables ¶
This section is empty.
Functions ¶
func GetErrorOnRequest ¶
func GetErrorOnRequest(w http.ResponseWriter, req *http.Request) string
func SetErrorCookie ¶
func SetErrorCookie(w http.ResponseWriter, err string)
func SetNewID ¶
func SetNewID(w http.ResponseWriter) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.