server

package
v1.0.35 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StaticServer

type StaticServer struct {
	PublicDir string
	BaseDir   string
	Notifier  chan []byte
	// contains filtered or unexported fields
}

func NewStaticServer

func NewStaticServer(dir, base string) *StaticServer

func (*StaticServer) Listen

func (ss *StaticServer) Listen()

func (*StaticServer) ServeHTTP

func (ss *StaticServer) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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