web

package
v0.13.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server represents the web UI HTTP server

func NewServer

func NewServer(cfg *config.Config, st store.Store) (*Server, error)

NewServer creates a new web UI server

func (*Server) GetTemplate

func (s *Server) GetTemplate(name string) (*template.Template, error)

GetTemplate parses a specific template with base.html to avoid block name conflicts

func (*Server) Start

func (s *Server) Start() error

Start starts the web server

func (*Server) Stop

func (s *Server) Stop() error

Stop gracefully shuts down the web server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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