Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzimuthGet ¶
type AzimuthPut ¶
type AzimuthPut struct {
Azimuth *int `json:"azimuth"`
}
type ElevationGet ¶
type ElevationPut ¶
type ElevationPut struct {
Elevation *int `json:"elevation"`
}
type EventHandler ¶
EventHandler is called whenever a variable of a rotator changes
type Rotator ¶
type Rotator interface { Name() string HasAzimuth() bool HasElevation() bool Azimuth() int AzPreset() int SetAzimuth(az int) error Elevation() int ElPreset() int SetElevation(el int) error StopAzimuth() error StopElevation() error Stop() error Serialize() Object Close() }
Rotator is the interface which has to be implemented by each Rotator
Click to show internal directories.
Click to hide internal directories.