Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dashboard ¶
type Dashboard struct {
Menus DashboardMenu `json:"menus"`
}
type DashboardBuilder ¶
type DashboardBuilder struct {
Menus DashboardMenu
}
func NewDashboardBuilder ¶
func NewDashboardBuilder() *DashboardBuilder
func (*DashboardBuilder) AddRESTMenu ¶
func (d *DashboardBuilder) AddRESTMenu(restComponent RESTComponent) *DashboardBuilder
func (*DashboardBuilder) Build ¶
func (d *DashboardBuilder) Build() *Dashboard
type DashboardMenu ¶
type DashboardMenu struct {
REST []RESTComponent `json:"rest"`
}
type RESTComponent ¶
type RESTComponent struct { HTTPMethod string `json:"http_method"` Route string `json:"route"` Versioning RESTVersioning `json:"versioning"` Request RESTRequest `json:"request"` }
type RESTRequest ¶
type RESTVersioning ¶
Click to show internal directories.
Click to hide internal directories.