mirror of
https://github.com/luckjiawei/podux.git
synced 2026-11-30 00:56:47 +00:00
15 lines
308 B
Go
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"`
|
|
}
|