Documentation
¶
Index ¶
- Constants
- type App
- type ConfigOption
- type Framework
- type PageOption
- func WithClient() PageOption
- func WithDeferredLoader(loader core.DeferredPropsLoader) PageOption
- func WithHTMLClass(class string) PageOption
- func WithHTMLLang(lang string) PageOption
- func WithLoader(loader core.PropsLoader) PageOption
- func WithStatic() PageOption
- func WithStaticData(loader core.StaticDataLoader) PageOption
- type RedirectError
- type Route
- type StaticPathData
Constants ¶
View Source
const PropHTMLClass = core.PropHTMLClass
View Source
const PropHTMLLang = core.PropHTMLLang
View Source
const (
React = core.FrameworkReact
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶ added in v0.1.4
func NewWithFramework ¶ added in v0.1.11
func NewWithOptions ¶ added in v0.1.19
func NewWithOptions(assetsFS embed.FS, opts []ConfigOption, routes ...Route) *App
type ConfigOption ¶ added in v0.1.11
type ConfigOption = core.ConfigOption
func WithDefaultHTMLLang ¶ added in v0.1.19
func WithDefaultHTMLLang(lang string) ConfigOption
func WithFramework ¶ added in v0.1.11
func WithFramework(fw core.Framework) ConfigOption
type PageOption ¶
type PageOption = core.PageOption
func WithClient ¶ added in v0.1.4
func WithClient() PageOption
func WithDeferredLoader ¶ added in v0.1.30
func WithDeferredLoader(loader core.DeferredPropsLoader) PageOption
func WithHTMLClass ¶ added in v0.1.21
func WithHTMLClass(class string) PageOption
func WithHTMLLang ¶ added in v0.1.19
func WithHTMLLang(lang string) PageOption
func WithLoader ¶ added in v0.1.4
func WithLoader(loader core.PropsLoader) PageOption
func WithStatic ¶ added in v0.1.4
func WithStatic() PageOption
func WithStaticData ¶ added in v0.1.4
func WithStaticData(loader core.StaticDataLoader) PageOption
type RedirectError ¶
type RedirectError = core.RedirectError
type StaticPathData ¶
type StaticPathData = core.StaticPathData
Click to show internal directories.
Click to hide internal directories.