Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBizCtx ¶
func RegisterBizCtx(i IBizCtx)
func RegisterInternalDict ¶
func RegisterInternalDict(i IInternalDict)
func RegisterMiddleware ¶
func RegisterMiddleware(i IMiddleware)
func RegisterSession ¶
func RegisterSession(i ISession)
Types ¶
type IBizCtx ¶
type IInternalDict ¶
type IInternalDict interface {
GetDictDataByType(ctx context.Context, req *common.GetInternalDictByTypeReq) (res *common.GetInternalDictByTypeRes, err error)
}
func InternalDict ¶
func InternalDict() IInternalDict
type IMiddleware ¶
type IMiddleware interface {
Ctx(r *ghttp.Request)
Auth(r *ghttp.Request)
CORS(r *ghttp.Request)
HandlerResponse(r *ghttp.Request)
}
func Middleware ¶
func Middleware() IMiddleware
Click to show internal directories.
Click to hide internal directories.