visualizer

package
v0.0.0-...-c66ceb2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: MIT Imports: 7 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 {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(logger logging.Logger) *Server

func (*Server) Run

func (s *Server) Run(ctx context.Context)

Run the server

func (*Server) ServeRequest

func (s *Server) ServeRequest(rw http.ResponseWriter, r *http.Request)

ServeRequest handles incoming http connections and upgrades them

func (*Server) Write

func (s *Server) Write(cmd cntl.Command) error

Write the given command to the sockets

Jump to

Keyboard shortcuts

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