util

package
v0.0.0-...-852c197 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IDCookieName  = "sqump-id"
	ErrCookieName = "sqump-error"
)

Variables

This section is empty.

Functions

func ConfigMap

func ConfigMap(req *http.Request) (data.EnvMap, error)

func GetErrorOnRequest

func GetErrorOnRequest(w http.ResponseWriter, req *http.Request) string

func GetID

func GetID(r *http.Request) (uuid.UUID, error)

func Open

func Open(resource string) error

func SetErrorCookie

func SetErrorCookie(w http.ResponseWriter, err string)

func SetNewID

func SetNewID(w http.ResponseWriter) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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