Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckCredentials ¶
func CheckCredentials( authDB config.HTTPBACredentials, validCredentials []config.HTTPBACredentialID, username, password string, ) bool
CheckCredentials validates whether a given username/password pair matches an entry in the authDB whose id is present in the validCredentials list
func GetSensorURLPath ¶
GetSensorURLPath generates the URL path for the given sensor details. location and name may be optional depending on sensorType, see the schema definition for details. The path is always all-lowercase.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.