Documentation
¶
Overview ¶
Package inertia provides the functionality to use Inertia.js with Gin. https://inertiajs.com
Index ¶
Constants ¶
View Source
const ( // Set to true to indicate this is an Inertia response. X_INERTIA string = "X-Inertia" // Used for external redirects when a 409 Conflict response is returned due to asset version mismatches. Triggers a // full window.location visit. X_INERTIA_LOCATION string = "X-Inertia-Location" // Set to X-Inertia to help browsers correctly differentiate between HTML and JSON responses. // Set to Precognition on all responses when the Precognition middleware is applied. VARY string = "Vary" )
Represents the Inertia response headers.
Variables ¶
This section is empty.
Functions ¶
func Flash ¶
Flash flashes a value to the current session with the default "_flash" key. Returns error if session was not saved.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.