Versions in this module Expand all Collapse all v0 v0.2.0 Jan 21, 2024 Changes in this version + const MaximumDistanceToBaseInM + const SIGNIFICANT_CHANGE + func Distance32(latA float32, lngA float32, latB float32, lngB float32) float32 + func MetersToDegrees32(lengthInM float32, radius float32) float32 + func MetersToLatitudeAngle(lengthInM float32) float32 + func MetersToLongitudeAngleAtLatitude(lengthInM float32, latitude float32) float32 + type CasterRegistry interface + type CasterSource interface + RegisterMountPoints func(Registry) error + func NewSource(input input.SourceTableInput) CasterSource + type Registry interface + NearestStations func(lat float32, lng float32) (distances []StationDistance, err error) + RegisterCaster func(url string, details ntrip.CasterEntry) error + RegisterStation func(url string, details ntrip.StreamEntry) error + func NewInMemoryRegistry() Registry + type Selector interface + Invalidate func() error + SetLocation func(lat float32, lng float32) error + Stream func() (<-chan []byte, error) + func NewRegistrySelector(registry Registry, significantChange float32) Selector + type StationDistance struct + type StationsRegistry interface + Register func(source CasterSource, mountpoint string, lat float32, lng float32)