1 package services 2 3 import ( 4 "context" 5 "log" 6 ) 7 8 type DiscoverUpdateService struct { 9 // TODO 10 } 11 12 // swagger:route PUT /discover/{serviceName} additional UpdateDevice 13 // NOT IMPLEMENTED YET 14 // 15 // Updates a discovery service 16 // 17 // responses: 18 // 19 // 200: description:Success 20 // 500: description:Internal Server Error 21 // nolint 22 func (s *DiscoverUpdateService) UpdateService(ctx context.Context, serviceName string, updateData map[string]interface{}) error { 23 // just log device ID for now 24 log.Printf("Updating service: %s", serviceName) 25 return nil 26 } 27