Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
func Middleware(loader *DataLoader, next http.Handler) http.Handler
Types ¶
type AdminLoader ¶
type AdminLoader struct {
// contains filtered or unexported fields
}
type DataLoader ¶
type DataLoader struct {
// contains filtered or unexported fields
}
DataLoader offers data loaders scoped to a context
func NewDataLoader ¶
func NewDataLoader(client *ent.Client) *DataLoader
NewDataLoader returns the instantiated Loaders struct for use in a request
func (DataLoader) GetPermissionChildrenCount ¶
func (DataLoader) GetUserRoleCount ¶
Click to show internal directories.
Click to hide internal directories.