Documentation
¶
Index ¶
- Constants
- func Respond(c app.Context, filePath string, props map[string]any) error
- func Vite(manifestPath, buildDir string) func(path string) (string, error)
- type Flash
- func (p *Flash) FlashClearHistory(ctx context.Context) error
- func (p *Flash) FlashErrors(ctx context.Context, errors gonertia.ValidationErrors) error
- func (p *Flash) GetErrors(ctx context.Context) (gonertia.ValidationErrors, error)
- func (p *Flash) ShouldClearHistory(ctx context.Context) (bool, error)
- type Inertia
- type InertiaResponse
- type Provider
Constants ¶
View Source
const InertiaBuildPath = "/public/build/"
View Source
const InertiaManifestPath = "./public/build/manifest.json"
View Source
const InertiaRootTemplatePath = "resources/views/root.html"
View Source
const ViteHotPath = "./public/hot"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Flash ¶
type Flash struct {
// contains filtered or unexported fields
}
func (*Flash) FlashErrors ¶
type Inertia ¶
type Inertia struct {
// contains filtered or unexported fields
}
func NewInertia ¶
type InertiaResponse ¶
type InertiaResponse struct {
*Inertia
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.