Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collar ¶
type Collar[T float64 | float32] struct { SaveStrategy SaveStrategy[T] // contains filtered or unexported fields }
func (*Collar[T]) ProcessData ¶
func (c *Collar[T]) ProcessData()
func (*Collar[T]) Save ¶
func (c *Collar[T]) Save(a animal.DataAnimal[T])
func (*Collar[T]) SetStrategy ¶
func (c *Collar[T]) SetStrategy(strategy SaveStrategy[T])
func (*Collar[T]) WearCollar ¶
func (c *Collar[T]) WearCollar(animalData animal.DataAnimal[T])
type SaveStrategy ¶
type SaveStrategy[T float64 | float32] interface { CheckGprs(dataAnimal animal.DataAnimal[T]) string }
type SensorAnimal ¶
Click to show internal directories.
Click to hide internal directories.