Versions in this module Expand all Collapse all v1 v1.8.0 Mar 10, 2024 v1.7.0 Sep 18, 2021 v1.6.3 Sep 5, 2019 Changes in this version + const InBody + const InQuery + var DefaultExpireTime = 0 * time.Second + var DefaultInterval = 30 * time.Second + func CovertSwaggerMethordToLocalMethord(schema *registry.SchemaContent, src *registry.MethodInfo, dst *DefMethod) + func GetSupportProto(svc *registry.MicroService) string + func GetSvcByInterface(interfaceName string) *registry.MicroService + func GetSvcNameByInterface(interfaceName string) string + type DefField struct + type DefMethod struct + OperaID string + Paras []MethParam + Path string + Responds map[string]*MethRespond + Verb string + func GetMethodByInterface(interfaceName string, operateID string) *DefMethod + func GetMethodInfoSchemaByURL(schema *registry.SchemaContent, verb string, url string) *DefMethod + func GetSchemaMethodBySvcURL(svcName string, env string, ver string, app string, verb string, url string) (*registry.SchemaContent, *DefMethod) + func (this *DefMethod) GetParamNameAndWhere(indx int) (string, int) + func (this *DefMethod) GetParamSchema(indx int) *MethParam + func (this *DefMethod) GetRspSchema(status int) *MethRespond + type DefType struct + JvmClsName string + func GetDefTypeFromDef(defs map[string]registry.Definition, ref string) DefType + type InterfaceSchema struct + AppId string + BasePath string + JavaClsName string + ServiceId string + SvcName string + Version string + type Job struct + Fn JobFunc + Next time.Time + type JobFunc func() + type MethParam struct + AdditionalProps map[string]string + Dtype string + Indx int + Items map[string]string + Name string + ObjRef DefType + Required bool + Where string + type MethRespond struct + DType string + ObjRef DefType + Status string + type Queue struct + func (q *Queue) Pop() Job + func (q *Queue) Push(x Job) + func (q *Queue) Top() Job