Files
podux/internal/domain/server/model.go
T
2026-03-02 17:40:35 +08:00

15 lines
308 B
Go

package server
type ServerStatus string
const (
ServerStatusRunning ServerStatus = "running"
ServerStatusStopped ServerStatus = "stopped"
)
// ServerRecord is a lightweight struct for DB scanning operations.
type ServerRecord struct {
ID string `db:"id"`
ServerName string `db:"serverName"`
}