feat: Added gorm.io/gorm and gorm.io/driver/sqlite dependencies, initialized service registry database with SQLite backend
This commit is contained in:
12
pkg/models/service.go
Normal file
12
pkg/models/service.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user