orbit

package
v0.35.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GalaxyPlugin

type GalaxyPlugin struct {
	orbit.BasePlugin

	Compiler           *compiler.ComponentCompiler
	Router             *router.Router
	EndpointCompiler   *endpoints.EndpointCompiler
	Bundler            *assets.Bundler
	Cache              *server.PageCache
	ChangeTracker      *hmr.ChangeTracker
	ComponentTracker   *hmr.ComponentTracker
	MiddlewareCompiler *middleware.MiddlewareCompiler
	MiddlewareChain    *middleware.Chain
	LoadedMiddleware   *middleware.LoadedMiddleware
	Lifecycle          *lifecycle.Lifecycle
	UseCodegen         bool
	CodegenPort        int

	RootDir   string
	PagesDir  string
	PublicDir string
	// contains filtered or unexported fields
}

func NewGalaxyPlugin

func NewGalaxyPlugin(rootDir, pagesDir, publicDir string) *GalaxyPlugin

func (*GalaxyPlugin) ConfigResolved

func (p *GalaxyPlugin) ConfigResolved(config any) error

func (*GalaxyPlugin) ConfigureServer

func (p *GalaxyPlugin) ConfigureServer(server any) error

func (*GalaxyPlugin) HandleHotUpdate

func (p *GalaxyPlugin) HandleHotUpdate(file string) ([]string, error)

func (*GalaxyPlugin) Middleware

func (p *GalaxyPlugin) Middleware() orbit.Middleware

func (*GalaxyPlugin) Name

func (p *GalaxyPlugin) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL