server

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

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

Go to latest
Published: Sep 16, 2024 License: AGPL-3.0 Imports: 30 Imported by: 0

Documentation

Overview

Package server implements the server side of the application. It handles both talking to the Agents and the frontend.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Addr string
	// contains filtered or unexported fields
}

Server wraps the state required for the web interface

func Create

func Create(addr string) (*Server, error)

Create creates and returns a new Server.

func (*Server) ListenAndServe

func (srv *Server) ListenAndServe()

ListenAndServe runs the server's ListenAndServe method

Jump to

Keyboard shortcuts

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