Documentation ¶
Index ¶
- func GetDB() (db.DB, string, error)
- func Valid(cmd *cobra.Command, args []string) error
- func ValidBuildingID(cmd *cobra.Command, args []string) error
- func ValidDeviceID(cmd *cobra.Command, args []string) error
- func ValidID(cmd *cobra.Command, args []string) error
- func ValidRoomID(cmd *cobra.Command, args []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidBuildingID ¶
ValidBuildingID checks if the argument is a valid building id
func ValidDeviceID ¶
ValidDeviceID checks if the argument is a valid device id
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.