dispatch

package
v0.0.0-...-d6813a9 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DispatchHandler

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

func (*DispatchHandler) DispatchDeivce

func (h *DispatchHandler) DispatchDeivce(w http.ResponseWriter, r *http.Request)

type DispatchServer

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

func NewDispatchServer

func NewDispatchServer(serverPort int, wsServerIp string, wsServerPort int) *DispatchServer

func (*DispatchServer) Serve

func (s *DispatchServer) Serve() error

TODO: configurable ports

func (*DispatchServer) ServeHTTPS

func (s *DispatchServer) ServeHTTPS() error

TODO: configurable ports

Jump to

Keyboard shortcuts

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