{"modulePath":"github.com/OpenSIN-Code/SIN-Code-Bundle","version":"v1.9.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package webui\n\nSPDX-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.\n\nSPDX-License-Identifier: MIT Purpose: embed HTML templates for the sin-code web UI.\n\n## Functions\n\n```go\nfunc Start(port int) error\n```\n\n```go\nfunc StartWith(cfg Config) error\n```\n\n## Types\n\n```go\ntype Config struct {\n\tHost        string\n\tPort        int\n\tTodoDB      string\n\tNotifDB     string\n\tOpenBrowser bool\n}\n```\n\n```go\ntype Server struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewServer(cfg Config) (*Server, error)\n```\n\n```go\nfunc (s *Server) Addr() string\n```\n\n```go\nfunc (s *Server) Handler() http.Handler\n```\n\n```go\nfunc (s *Server) ListenAndServe() error\n```\n\n","path":"github.com/OpenSIN-Code/SIN-Code-Bundle/cmd/sin-code/internal/webui","name":"webui","synopsis":"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.","isRedistributable":true}
