frontend

package
v0.0.0-...-e9ab6a4 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: GPL-3.0 Imports: 26 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 CreateFrontend

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

CreateFrontend 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