server

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 13 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 this is the http server with update capatibiliries

func New

func New(rootFolder string, gen generator.Generator) *Server

New creates a new http server with auto update capatibilities

func (*Server) Serve

func (s *Server) Serve() error

Serve starting the http server serving the files

func (*Server) StartWatcher

func (s *Server) StartWatcher() error

StartWatcher starting a file system watcher

Jump to

Keyboard shortcuts

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