web

package
v0.0.0-...-f9c212a Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: AGPL-3.0 Imports: 25 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 {
	Address string
	Port    int
	// contains filtered or unexported fields
}

Server wraps the http server and its associated state.

func Open

func Open(addr string, port int) (*Server, error)

Open creates a new Server.

func (*Server) ListenAndServe

func (srv *Server) ListenAndServe()

ListenAndServe enters the HTTP server's main loop, i.e. this method must be called for the Web frontend to handle requests.

Jump to

Keyboard shortcuts

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