Documentation ¶
Index ¶
Constants ¶
View Source
const ( List = iota Add Remove )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arc ¶
type Arc struct {
// contains filtered or unexported fields
}
func (*Arc) ListenAndServe ¶
func (*Arc) Read ¶
func (a *Arc) Read() DeviceEvent
type ControlEvent ¶
type ControlEvent struct { EventType ControlEventType ID string DeviceType string Port int32 }
func (ControlEvent) DeviceKind ¶
func (c ControlEvent) DeviceKind() string
type ControlEventType ¶
type ControlEventType int
func (ControlEventType) String ¶
func (s ControlEventType) String() string
type DeviceEvent ¶
type DeviceEvent interface {
Type() string
}
type Grid ¶
type Grid struct {
// contains filtered or unexported fields
}
func (*Grid) ListenAndServe ¶
func (*Grid) Read ¶
func (g *Grid) Read() DeviceEvent
type ReadyEvent ¶
type ReadyEvent struct {
ID string
}
func (ReadyEvent) String ¶
func (c ReadyEvent) String() string
func (ReadyEvent) Type ¶
func (c ReadyEvent) Type() string
type RingPressEvent ¶
func (RingPressEvent) String ¶
func (c RingPressEvent) String() string
func (RingPressEvent) Type ¶
func (c RingPressEvent) Type() string
type SerialOSC ¶
type SerialOSC struct {
// contains filtered or unexported fields
}
func NewSerialOSC ¶
func StartSerialOSC ¶
func (*SerialOSC) ListenAndServe ¶
func (*SerialOSC) Read ¶
func (s *SerialOSC) Read() (ControlEvent, error)
Click to show internal directories.
Click to hide internal directories.