Documentation
¶
Index ¶
- Constants
- type Keyer
- type Parrot
- func (p *Parrot) CallsignEntered(call string)
- func (p *Parrot) KeyerStopped()
- func (p *Parrot) Notify(listener any)
- func (p *Parrot) SetInterval(interval time.Duration)
- func (p *Parrot) SetView(view View)
- func (p *Parrot) Start()
- func (p *Parrot) Stop()
- func (p *Parrot) WorkmodeChanged(workmode core.Workmode)
- type ParrotActiveListener
- type View
- type WorkmodeController
Constants ¶
View Source
const CQMessageIndex = 0
View Source
const DefaultInterval = 10 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parrot ¶
type Parrot struct {
// contains filtered or unexported fields
}
Parrot is a CQ 🦜
func New ¶
func New(workmodeController WorkmodeController, keyer Keyer) *Parrot
func (*Parrot) CallsignEntered ¶
func (*Parrot) KeyerStopped ¶
func (p *Parrot) KeyerStopped()
func (*Parrot) SetInterval ¶
func (*Parrot) WorkmodeChanged ¶
type ParrotActiveListener ¶
type ParrotActiveListener interface {
ParrotActive(active bool)
}
type WorkmodeController ¶
Click to show internal directories.
Click to hide internal directories.