http-boot-server/bootserver/bootoption/bootoption.go

17 lines
374 B
Go
Raw Normal View History

package bootoption
2023-07-29 19:23:36 +00:00
import "github.com/google/uuid"
type EFIApp struct {
2023-08-15 19:59:47 +00:00
Name string `json:"name"`
Path string `json:"path"`
DiskID string `json:"disk_id"`
}
type Client struct {
2023-07-29 19:23:36 +00:00
ID uuid.UUID
2023-07-30 09:20:45 +00:00
Name string `json:"name"`
Options map[string]EFIApp `json:"options"`
SelectedOption string `json:"selected_option"`
}