package hdsv2 import ( "imuslab.com/arozos/mod/iot" "imuslab.com/arozos/mod/network/mdns" ) /* Home Dynamic 2 Controller This is a module that handles HDSv2 protocol devices scannings */ type Handler struct { scanner *mdns.MDNSHost historyList []iot.Device lastScanTime int64 } //Create a new HDSv2 Protocol Handler func NewProtocolHandler(scanner *mdns.MDNSHost) *Handler { //Create a new MDNS Host return &Handler{ scanner, []iot.Device{}, 0, } } func (h *Handler) Scan() ([]*iot.Device, error) { }