webui

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: MIT Purpose: sin-code web UI — stdlib HTTP server that exposes the orchestrator, todo store, notifications, and EFM stacks through a browser. All templates and static assets are embedded.

SPDX-License-Identifier: MIT Purpose: embed HTML templates for the sin-code web UI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(port int) error

func StartWith

func StartWith(cfg Config) error

Types

type Config

type Config struct {
	Host        string
	Port        int
	TodoDB      string
	NotifDB     string
	OpenBrowser bool
}

type Server

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

func NewServer

func NewServer(cfg Config) (*Server, error)

func (*Server) Addr

func (s *Server) Addr() string

func (*Server) Handler

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

func (*Server) ListenAndServe

func (s *Server) ListenAndServe() error

Jump to

Keyboard shortcuts

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