Documentation ¶
Index ¶
- func Client(cli client.Client) func(*SbProxy)
- func DoneCh(ch chan struct{}) func(*SbProxy)
- func EventHandler(h func(rotator.Rotator, rotator.Heading)) func(*SbProxy)
- func Name(name string) func(*SbProxy)
- func ServiceName(name string) func(*SbProxy)
- type SbProxy
- func (r *SbProxy) AzPreset() int
- func (r *SbProxy) Azimuth() int
- func (r *SbProxy) Close()
- func (r *SbProxy) ElPreset() int
- func (r *SbProxy) Elevation() int
- func (r *SbProxy) HasAzimuth() bool
- func (r *SbProxy) HasElevation() bool
- func (r *SbProxy) Name() string
- func (r *SbProxy) Serialize() rotator.Object
- func (r *SbProxy) SetAzimuth(az int) error
- func (r *SbProxy) SetElevation(el int) error
- func (r *SbProxy) Stop() error
- func (r *SbProxy) StopAzimuth() error
- func (r *SbProxy) StopElevation() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoneCh ¶
func DoneCh(ch chan struct{}) func(*SbProxy)
DoneCh is a functional option allows you to pass a channel to the proxy object. This channel will be closed by this object. It serves as a notification that the object can be deleted.
func EventHandler ¶
EventHandler sets a callback function through which the proxy rotator will report Events
func ServiceName ¶
Types ¶
type SbProxy ¶
func (*SbProxy) HasAzimuth ¶
func (*SbProxy) HasElevation ¶
func (*SbProxy) SetAzimuth ¶
func (*SbProxy) SetElevation ¶
func (*SbProxy) StopAzimuth ¶
func (*SbProxy) StopElevation ¶
Click to show internal directories.
Click to hide internal directories.