mirror of https://github.com/nealey/vail.git
De-acronym Message documentation
This commit is contained in:
parent
6e20cc510f
commit
e9cbdba425
|
@ -22,15 +22,15 @@ type MessageSocket interface {
|
||||||
MessageReceiver
|
MessageReceiver
|
||||||
}
|
}
|
||||||
|
|
||||||
// VailMessage is a single Vail message.
|
// Message is a single Vail message.
|
||||||
type Message struct {
|
type Message struct {
|
||||||
// Timestamp of this message. Milliseconds since epoch.
|
// Timestamp of this message. Milliseconds since epoch.
|
||||||
Timestamp int64
|
Timestamp int64
|
||||||
|
|
||||||
// Number of connected clients
|
// Number of connected clients.
|
||||||
Clients uint16
|
Clients uint16
|
||||||
|
|
||||||
// Message timing in ms.
|
// Message timing in milliseconds.
|
||||||
// Timings alternate between tone and silence.
|
// Timings alternate between tone and silence.
|
||||||
// For example, `A` could be sent as [80, 80, 240]
|
// For example, `A` could be sent as [80, 80, 240]
|
||||||
Duration []uint16
|
Duration []uint16
|
||||||
|
|
Loading…
Reference in New Issue