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()
Click to show internal directories.
Click to hide internal directories.