webserver

package
v0.10.0 Latest Latest
Warning

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

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

Documentation

Overview

Package webserver serves embedded assets and a daemon-backed resource API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, host string, port int, endpoint string, dial Dial, out io.Writer) error

Run binds only loopback and prints the URL after a successful bind.

Types

type Dial

type Dial func(context.Context) (kukeonv1.Client, error)

Dial creates a request-owned client, closed after the RPC completes.

Jump to

Keyboard shortcuts

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