requirementbrowser

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrOneShotTerminal = errors.New("requirement browser one-shot terminal state")

Functions

func BuildPlan

func BuildPlan(raw any, options Options) (map[string]any, int, error)

func BuildProjectPlan added in v0.14.0

func BuildProjectPlan(ctx context.Context, repositoryRoot string, options Options) (map[string]any, int, error)

func HostChoices added in v0.2.1

func HostChoices() []string

func Serve

func Serve(ctx context.Context, raw any, options Options, stdout io.Writer) error

func ServeProject added in v0.14.0

func ServeProject(ctx context.Context, repositoryRoot string, options Options, stdout io.Writer) error

func SessionModeChoices added in v0.2.1

func SessionModeChoices() []string

func ViewChoices added in v0.2.1

func ViewChoices() []string

Types

type Options

type Options struct {
	EmptyLocalEnvironmentPolicy bool
	Host                        string
	LocalEnvironmentClasses     []string
	Open                        bool
	Port                        int
	PortSet                     bool
	ProofViewScope              string
	SessionMode                 string
	SessionTimeout              time.Duration
	View                        string
}

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 StartProjectServer(ctx context.Context, repositoryRoot string, options Options) (ServerHandle, error)

func StartServer

func StartServer(raw any, options Options) (ServerHandle, error)

func (ServerHandle) Close

func (handle ServerHandle) Close(ctx context.Context) error

func (ServerHandle) Done

func (handle ServerHandle) Done() <-chan error

Jump to

Keyboard shortcuts

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