Versions in this module Expand all Collapse all v0 v0.0.2 Feb 19, 2025 v0.0.1 Feb 19, 2025 Changes in this version + var ErrNoResponse = errs.ErrNoResponse + var ErrUnauthorized = errs.ErrUnauthorized + func BS[Req any](fn func(ctx *Context, req Req, sess session.Session) (Result, error)) gin.HandlerFunc + func B[Req any](fn func(ctx *Context, req Req) (Result, error)) gin.HandlerFunc + func S(fn func(ctx *Context, sess session.Session) (Result, error)) gin.HandlerFunc + func W(fn func(ctx *Context) (Result, error)) gin.HandlerFunc + type Context = gctx.Context + type Handler interface + PrivateRoutes func(server *gin.Engine) + PublicRoutes func(server *gin.Engine) + type Result struct + Code int + Data any + Msg string