frontend

package
v0.0.0-...-676ba64 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: GPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebFrontend

type WebFrontend struct {
	Port     uint16
	Hostname string
	// contains filtered or unexported fields
}

WebFrontend wraps the web server and its associated state.

func Create

func Create(addr string, port uint16, nexus *backend.Nexus) (*WebFrontend, error)

Create creates a new web frontend.

func (*WebFrontend) Serve

func (srv *WebFrontend) Serve()

Serve runs the web server.

Jump to

Keyboard shortcuts

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