slave

package
v0.0.0-...-6de39a6 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrWebsocketNotConnected = errors.New("websocket not connected")
	ErrWebsocketClosed       = errors.New("websocket closed before response received")
)

Functions

This section is empty.

Types

type LimbClient

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

func NewLimbClient

func NewLimbClient(vendor string, config *common.Configure, conn *websocket.Conn, out chan<- *common.OctopusEvent) *LimbClient

func (*LimbClient) Dispose

func (lc *LimbClient) Dispose()

type LimbService

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

func NewLimbService

func NewLimbService(config *common.Configure, in <-chan *common.OctopusEvent, out chan<- *common.OctopusEvent) *LimbService

func (*LimbService) ServeHTTP

func (ls *LimbService) ServeHTTP(w http.ResponseWriter, r *http.Request)

handle limb client connnection

func (*LimbService) Start

func (ls *LimbService) Start()

func (*LimbService) Stop

func (ls *LimbService) Stop()

Jump to

Keyboard shortcuts

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