Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditHookFunc ¶
type AuditHookFunc func(ctx context.Context, state sys_enum.AuditEvent, info *sys_entity.SysAudit) error
type AuditHookInfo ¶
type AuditHookInfo struct { Key sys_enum.AuditEvent Value AuditHookFunc Category int `json:"category" dc:"业务类别"` }
type AuthHookFunc ¶
type AuthHookInfo ¶
type AuthHookInfo struct { Key sys_enum.AuthActionType Value AuthHookFunc UserType sys_enum.UserType `json:"userType" dc:"用户类型"` }
type CasbinHookFunc ¶
type CasbinHookInfo ¶
type CasbinHookInfo sys_model.HookEventType[sys_enum.UserType, CasbinHookFunc]
type FileHookFunc ¶
type FileHookFunc sys_model.HookFunc[sys_enum.UploadEventState, sys_entity.SysFile]
type FileHookInfo ¶
type FileHookInfo sys_model.HookEventType[sys_enum.UploadEventState, FileHookFunc]
type JwtHookFunc ¶
type JwtHookFunc func(ctx context.Context, claims *sys_model.JwtCustomClaims) (*sys_model.JwtCustomClaims, error)
type JwtHookInfo ¶
type JwtHookInfo sys_model.HookEventType[sys_enum.UserType, JwtHookFunc]
type UserHookFunc ¶
type UserHookInfo ¶
type UserHookInfo sys_model.HookEventType[sys_enum.UserEvent, UserHookFunc]
Click to show internal directories.
Click to hide internal directories.