feat: Added gorm.io/gorm and gorm.io/driver/sqlite dependencies, initialized service registry database with SQLite backend

This commit is contained in:
2025-02-11 15:42:09 +01:00
parent a4f70d0376
commit 9d4c10b392
7 changed files with 69 additions and 0 deletions

12
pkg/models/service.go Normal file
View File

@@ -0,0 +1,12 @@
package models
import "gorm.io/gorm"
type Service struct {
gorm.Model
Name string
NodeType string
Address string
Port int
Status string
}