kra-oa/internal/modules/system/adminsurface/surface.go

26 lines
478 B
Go

// Package adminsurface defines administration UI metadata contributed by
// business modules. The system data module owns how this metadata is stored.
package adminsurface
type Menu struct {
Name string
Path string
ParentName string
Component string
Title string
Icon string
Sort int
}
type API struct {
Path string
Method string
APIGroup string
Description string
}
type Surface struct {
Menus []Menu
APIs []API
}