Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PageConfig ¶
type PageConfig struct {
ComponentPath string
Mode PageMode
PropsLoader PropsLoader
StaticDataLoader StaticDataLoader
}
type PageOption ¶
type PageOption func(*PageConfig)
func WithClient ¶ added in v0.1.4
func WithClient() PageOption
func WithLoader ¶ added in v0.1.4
func WithLoader(loader PropsLoader) PageOption
func WithStatic ¶ added in v0.1.4
func WithStatic() PageOption
func WithStaticData ¶ added in v0.1.4
func WithStaticData(loader StaticDataLoader) PageOption
type RedirectError ¶
type RenderedPage ¶
type StaticDataLoader ¶
type StaticDataLoader func(context.Context) ([]StaticPathData, error)
type StaticPathData ¶
Click to show internal directories.
Click to hide internal directories.