http-boot-server/bootserver/bootoption/bootoption.go
Melora Hugues 3ddf295e34
All checks were successful
continuous-integration/drone/push Build is passing
add disk id to server
2023-08-15 21:59:47 +02:00

16 lines
374 B
Go

package bootoption
import "github.com/google/uuid"
type EFIApp struct {
Name string `json:"name"`
Path string `json:"path"`
DiskID string `json:"disk_id"`
}
type Client struct {
ID uuid.UUID
Name string `json:"name"`
Options map[string]EFIApp `json:"options"`
SelectedOption string `json:"selected_option"`
}