Documentation ¶
Index ¶
Constants ¶
View Source
const ( MIN_MAX_MOTION = 0.1 SMOOTHING_FAST = 0.9 SMOOTHING_SLOW = 0.99 )
Variables ¶
View Source
var (
MAX_SMOOTHING = math.Pow(0.999, 1.0/100)
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a middleman between the websocket connection and the hub.
type Hub ¶
type Hub struct {
// contains filtered or unexported fields
}
Hub maintains the set of active clients and broadcasts messages to the clients.
type PhoneEvent ¶
Click to show internal directories.
Click to hide internal directories.