Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DevRuntimeSource string
DevRuntimeSource runs Vite and the development SSR bridge under Bun.
View Source
var RuntimeSource string
RuntimeSource is compiled into the standalone production renderer.
Functions ¶
This section is empty.
Types ¶
type Process ¶
type Process struct {
// contains filtered or unexported fields
}
Process is one long-lived renderer executable.
func StartCommand ¶
func StartCommand(executable string, args []string, workDir string, environment ...string) (*Process, error)
StartCommand starts a renderer command and waits for its Unix socket health endpoint.
type RemoteError ¶
type RemoteError struct{ Message string }
RemoteError reports an application render failure returned by the renderer.
func (*RemoteError) Error ¶
func (e *RemoteError) Error() string
type UnavailableError ¶
UnavailableError reports renderer process or transport failure.
func (*UnavailableError) Error ¶
func (e *UnavailableError) Error() string
func (*UnavailableError) Unwrap ¶
func (e *UnavailableError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.