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

16 lines
338 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-07-30 09:20:45 +00:00
Name string `json:"name"`
Path string `json:"path"`
}
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"`
}