ui

package
v0.0.0-...-1f94d21 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebServer

type WebServer struct {
	IP         string
	Port       int
	HTTPServer *http.Server
}

WebServer will hold the information to run the UIs webserver

func New

func New() *WebServer

New will return an instantiated WebServer

func (*WebServer) Start

func (ws *WebServer) Start() error

Start will start the ui webserver

func (*WebServer) Stop

func (ws *WebServer) Stop(ctx context.Context)

Stop will stop the ui webserver

Jump to

Keyboard shortcuts

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