Versions in this module Expand all Collapse all v0 v0.1.2 Nov 19, 2024 v0.1.0 Nov 19, 2024 Changes in this version + func Fail(stage *kk_stage.Stage, res *kk_models.PBResponse, data proto.Message) *kk_models.PBResponse + func ReadJson(stage *kk_stage.Stage, param *any) error + func ReadProtoBuf(stage *kk_stage.Stage, ptr proto.Message) error + func RequestForm2Map(stage *kk_stage.Stage) (queryParameters map[string]string, err error) + func RequestParams2Map(stage *kk_stage.Stage) (queryParams map[string]string, err error) + func ResponseErrPB(stage *kk_stage.Stage, err error) + func ResponseFailPB(stage *kk_stage.Stage, res *kk_models.PBResponse, data proto.Message) + func ResponseProtoBuf(c *gin.Context, obj any) + func ResponseSuccessPB(stage *kk_stage.Stage, res *kk_models.PBResponse, data proto.Message) + func Success(stage *kk_stage.Stage, res *kk_models.PBResponse, data proto.Message) *kk_models.PBResponse + type KKHttpServer struct + ServerAddr string + ShutdownTimeout time.Duration + Stage *kk_stage.Stage + func (x *KKHttpServer) Engine() *gin.Engine + func (x *KKHttpServer) InitEngine() + func (x *KKHttpServer) NewKKRunServer() kk_server.KKRunServer