Documentation
¶
Overview ¶
Package admintest serves admin panels in tests, as the route an app gives them, and reads their screens and actions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Page ¶
type Page struct {
Status int
View string `json:"view"`
Resource struct {
Actions []admin.ActionInfo `json:"actions"`
Edit bool `json:"edit"`
} `json:"resource"`
List struct {
Rows []struct {
Key string `json:"key"`
Values map[string]string `json:"values"`
} `json:"rows"`
Total int `json:"total"`
} `json:"list"`
Record struct {
Values map[string]string `json:"values"`
} `json:"record"`
Notice string `json:"notice"`
}
Page is a screen's data.
Click to show internal directories.
Click to hide internal directories.