web

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package web provides the HTTP server for the unum hash web UI. All static assets are embedded at build time — the binary is fully self-contained.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetFuncs

func SetFuncs(derive func(string) types.Result)

SetFuncs wires in the derivation function.

func Start

func Start(opts Options) error

Start launches the hash web server, auto-opens the browser, and blocks until Ctrl+C.

Types

type Options

type Options struct {
	Port       int
	Quiet      bool
	DarkTheme  string // cyber | matrix | dracula | nord
	LightTheme string // clean | solarized
	Version    string
}

Options configures the hash web server.

Jump to

Keyboard shortcuts

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