serverruntime

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: MIT Imports: 31 Imported by: 0 modules, 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 serverruntime starts the HTTP relay without local harness execution.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorEvent added in v1.1.1

func ErrorEvent(err error) serverdiag.Event

ErrorEvent uses type identity, never Error() text, even for unknown failures.

func Run

func Run(ctx context.Context, args []string, version string, output io.Writer) (err error)

Run serves until cancellation. Help and version do not access disk or network.

Types

type RunError added in v1.1.1

type RunError struct{ Reason, Detail, Flag string }

RunError contains only closed classifications, never the original error or input.

func (*RunError) Classification added in v1.1.1

func (e *RunError) Classification() (string, string, string)

func (*RunError) Error added in v1.1.1

func (e *RunError) Error() string

Jump to

Keyboard shortcuts

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