refactor: general-node and map-node to use flotte types for service registration

This commit is contained in:
2025-02-11 15:17:34 +01:00
parent eec969fc75
commit 88caecde51
8 changed files with 146 additions and 28 deletions

View File

@@ -0,0 +1,8 @@
package request
type ServiceRegister struct {
Name string `json:"name"`
NodeType string `json:"nodeType"`
Address string `json:"address"`
Port int `json:"port"`
}

View File

@@ -0,0 +1,6 @@
package response
type ServiceRegister struct {
ServiceName string `json:"serviceName"`
Status string `json:"status"`
}