host

package
v0.0.1-dev.14 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: Apache-2.0 Imports: 26 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package host supervises a development app: it holds the app's port and restarts the app from the source holon-api posts to it, so a save reaches the app without a new pod. Each source carries the protocol's PrepareFile and StartFile, which the supervisor runs in turn.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context) error

Run serves PORT and proxies it to the app, which it starts in the source directory with a loopback HOST and PORT of the app's own. The app starts from the overlay the platform recorded, or else from the first reload.

Types

This section is empty.

Jump to

Keyboard shortcuts

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