Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExitWithMsg ¶
func ExitWithMsg(str string, value ...interface{})
Types ¶
type Context ¶
type Context struct { Request *http.Request ResourceID string Config *Config Roles []string DB *gorm.DB }
func (*Context) GetContext ¶
type CurrentUser ¶
type CurrentUser interface {
DisplayName() string
}
Click to show internal directories.
Click to hide internal directories.