Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
Request *http.Request
Writer http.ResponseWriter
CurrentUser CurrentUser
Roles []string
ResourceID string
DB *gorm.DB
Config *Config
Errors
}
Context qor context, which is used for many qor components, used to share information between them
type CurrentUser ¶
type CurrentUser interface {
DisplayName() string
}
CurrentUser is an interface, which is used for qor admin to get current logged user
Click to show internal directories.
Click to hide internal directories.