server

package
v0.0.0-...-16be442 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const SSEHeartBeatDur = 25 * time.Second

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func New

func New(store *domain.Store, accessLog bool) *Server

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Signals

type Signals struct {
	Search struct {
		Term string `json:"term,omitempty"`
	} `json:"search,omitempty"`
}

Directories

Path Synopsis
templ: version: v0.3.943
templ: version: v0.3.943

Jump to

Keyboard shortcuts

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