Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redirect ¶
type Redirect struct {
// contains filtered or unexported fields
}
Redirect is a helper to perform HTTP redirects.
func (*Redirect) Go ¶
Go performs the redirect If the request is HTMX boosted, an HTMX redirect will be performed instead of an HTTP redirect
func (*Redirect) StatusCode ¶
StatusCode sets the HTTP status code which defaults to http.StatusFound. Does not apply to HTMX redirects.
Click to show internal directories.
Click to hide internal directories.