Files
dokku-ui/internal/models/server.go
flowshadow 6ac6ac5eda init
2025-10-10 20:44:28 +08:00

27 lines
361 B
Go

package models
import (
"time"
"gitlab.com/texm/shokku/internal/server/auth"
"gorm.io/gorm"
)
type Server struct {
gorm.Model
IsSetup bool
SetupKey string
AuthMethod auth.Method
LastSync time.Time
}
func (Server) TableName() string {
return "server"
}
type ServerSecrets struct {
gorm.Model
DokkuSSHKeyGob []byte
SigningKey []byte
}