Documentation
¶
Overview ¶
Package http implements the HTTP interface for GoDrone.
It currently handles serving the HTML UI and related assets, as well as WebSocket clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.1.0
type Config struct {
Control *control.Control
Log log.Interface
Version string
ControlTimeout time.Duration
MaxAngle int
}
Config holds the arguments required to create a Handler.
type Handler ¶ added in v0.1.0
type Handler struct {
// contains filtered or unexported fields
}
Handler provides a http.Handler.
Click to show internal directories.
Click to hide internal directories.