server

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: May 1, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Port       int
	IsMaster   bool
	MasterURL  string
	Controller controller.Controller
	Endpoint   endpoint.Endpoint
}

Server runs the REST API Server and dispatches requests to the led or controller

func (*Server) Run

func (server *Server) Run()

Run the Server instance. Dispatch requests to the controller or led

Jump to

Keyboard shortcuts

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