Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler Dashboard HTTP 处理器(服务端渲染)
func NewHandler ¶
func NewHandler( logger *zap.Logger, jwtMgr *auth.Manager, userRepo *db.UserRepo, groupRepo *db.GroupRepo, usageRepo *db.UsageRepo, adminPasswordHash string, tokenTTL time.Duration, ) *Handler
NewHandler 创建 Dashboard Handler
func (*Handler) RegisterRoutes ¶
RegisterRoutes 注册 dashboard 路由
Click to show internal directories.
Click to hide internal directories.