jeffreydwalter / arlo-go

WIP - (BETA) - Go package for interacting with Netgear's Arlo camera system.
MIT License
42 stars 8 forks source link

Architecture: Use of aggregate types (Cameras, Basestations, etc.) is potentially confusing. #11

Open jeffreydwalter opened 5 years ago

jeffreydwalter commented 5 years ago

@lrstanley I'm open to seeing how your suggestion works out in practice. My main concern here is that I'd prefer to abstract away the need to know what type a device is for the caller. The device object has a deviceType field, but the rules around what qualifies as a basestation are a little fuzzy. For instance, an Arlo Go camera is both a basestation and a camera.