Documentation
¶
Index ¶
- Variables
- func BuildPlan(raw any, options Options) (map[string]any, int, error)
- func BuildProjectPlan(ctx context.Context, repositoryRoot string, options Options) (map[string]any, int, error)
- func HostChoices() []string
- func Serve(ctx context.Context, raw any, options Options, stdout io.Writer) error
- func ServeProject(ctx context.Context, repositoryRoot string, options Options, stdout io.Writer) error
- func SessionModeChoices() []string
- func ViewChoices() []string
- type Options
- type ServerHandle
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOneShotTerminal = errors.New("requirement browser one-shot terminal state")
Functions ¶
func BuildProjectPlan ¶ added in v0.14.0
func HostChoices ¶ added in v0.2.1
func HostChoices() []string
func ServeProject ¶ added in v0.14.0
func SessionModeChoices ¶ added in v0.2.1
func SessionModeChoices() []string
func ViewChoices ¶ added in v0.2.1
func ViewChoices() []string
Types ¶
type ServerHandle ¶
type ServerHandle struct {
Host string
Port int
SnapshotID string
URL string
Handoff <-chan map[string]any
// contains filtered or unexported fields
}
func StartProjectServer ¶ added in v0.14.0
func StartServer ¶
func StartServer(raw any, options Options) (ServerHandle, error)
func (ServerHandle) Done ¶
func (handle ServerHandle) Done() <-chan error
Click to show internal directories.
Click to hide internal directories.