webserver

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: MIT Imports: 18 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 a webserver.

func NewServer

func NewServer(l *loaderold.Loader) (*Server, error)

NewServer returns a new web server configured with the given loader.

func (*Server) Serve

func (ws *Server) Serve(hostAndPort string) error

Serve offers an http service.

Jump to

Keyboard shortcuts

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