Documentation
¶
Index ¶
- func ApplyRoutes(r *gin.RouterGroup)
- func CreateNode(node *models.Node) error
- func Delete()
- func DeleteNode(id string) error
- func FetchAllNodes(c *gin.Context)
- func FetchAllNodesByStatus(c *gin.Context)
- func GetNodeByID(id string) (models.Node, error)
- func GetNodes()
- func TestMain()
- func Update()
- func UpdateNode(node *models.Node) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyRoutes ¶
func ApplyRoutes(r *gin.RouterGroup)
func CreateNode ¶
CreateNode creates a new node record in the database
func DeleteNode ¶
DeleteNode deletes a node record from the database
func FetchAllNodes ¶
func FetchAllNodesByStatus ¶
func GetNodeByID ¶
GetNodeByID retrieves a node record from the database by ID
func UpdateNode ¶
UpdateNode updates an existing node record in the database
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.