mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-29 13:49:28 +08:00

* NOISSUE - Fix NodeID Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Add default subscription nodeID and Interval ENVAR Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * updatee README Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
21 lines
327 B
Go
21 lines
327 B
Go
// Copyright (c) Mainflux
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package api
|
|
|
|
import "github.com/mainflux/mainflux/opcua"
|
|
|
|
type browseReq struct {
|
|
ServerURI string
|
|
Namespace string
|
|
Identifier string
|
|
}
|
|
|
|
func (req *browseReq) validate() error {
|
|
if req.ServerURI == "" {
|
|
return opcua.ErrMalformedEntity
|
|
}
|
|
|
|
return nil
|
|
}
|