Help us shape the future of Go! Take the 2026 Go Developer Survey

flowstudio

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, filePath string, output io.Writer) error

Run serves the Studio on an ephemeral loopback port until the context is cancelled. Flow execution uses the same `nexssp flow` CLI path used outside Studio, including Flow's native bundle and @require handling.

Types

type Studio

type Studio struct {
	// contains filtered or unexported fields
}

func New

func New(filePath string) (*Studio, error)

New creates a Studio for one existing .nflow file. It intentionally does not discover or expose arbitrary files; the selected Flow file remains the source of truth for editing, validation, and execution.

func (*Studio) Handler

func (s *Studio) Handler() http.Handler

Handler returns the local Studio UI and its narrowly scoped API. Callers should bind it to loopback; Run does so automatically.

Jump to

Keyboard shortcuts

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