Documentation ¶
Index ¶
- type Pins
- func (sp *Pins) AddPin(pin *pin.Pin)
- func (sp *Pins) DeletePin(p int)
- func (sp Pins) GetPin(p int) *pin.Pin
- func (sp *Pins) GetPins() *map[int]*pin.Pin
- func (sp *Pins) GetPinsAsArray() []*pin.Pin
- func (sp *Pins) PinExists(p int) bool
- func (sp *Pins) PrintPQ() string
- func (sp *Pins) ReadAndRunPin()
- func (sp *Pins) RemoveSchedule(p int)
- func (sp *Pins) UpdatePin(pin *pin.Pin)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pins ¶
type Pins struct { Pins map[int]*pin.Pin PQ pq.PriorityQueue // contains filtered or unexported fields }
func NewSafePQPins ¶
func NewSafePQPins() *Pins
func (*Pins) GetPinsAsArray ¶
func (*Pins) ReadAndRunPin ¶
func (sp *Pins) ReadAndRunPin()
func (*Pins) RemoveSchedule ¶
Click to show internal directories.
Click to hide internal directories.