Versions in this module Expand all Collapse all v1 v1.2.0 Feb 4, 2026 Changes in this version + func RequestToProto(r *http.Request) (*hapi.Request, error) + type HApiBase struct + func (this *HApiBase) GetType() string + func (this *HApiBase) Init(subclass app.IRPCModule, settings *conf.ModuleSettings, opts ...hapi.Option) + func (this *HApiBase) OnDestroy() + func (this *HApiBase) OnInit(settings *conf.ModuleSettings) + func (this *HApiBase) Options() hapi.Options + func (this *HApiBase) RouterGroup() *gin.RouterGroup + func (this *HApiBase) Run(closeSig chan bool) + func (this *HApiBase) Version() string + type HttpHandler struct + Opts hapi.Options + func NewHandler(opts hapi.Options) *HttpHandler + func (h *HttpHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)