server

package
v0.0.0-...-2ad74da Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

Package server is the core functionality of test_machine_monitor.

Index

Constants

View Source
const (
	OnBeforeTaskPath = "/on_before_task"
	OnAfterTaskPath  = "/on_after_task"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server is the core functionality of test_machine_monitor.

func New

func New(m *machine.Machine, triggerInterrogationCh chan<- bool) (*Server, error)

New returns a new instance of Server.

func (*Server) Start

func (s *Server) Start(port string) error

Start the http server. This function never returns.

Jump to

Keyboard shortcuts

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