Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InterceptorOpenTracing ¶
func InterceptorOpenTracing() gin.HandlerFunc
InterceptorOpenTracing opentracing
Types ¶
type Rule ¶
type Rule struct { IsRuning int `json:"IsRuning,omitempty" yaml:"IsRuning"` //0:有效 1:无效 Location string `json:"Location",omitempty yaml:"Location"` Rewrite string `json:"Rewrite,omitempty"yaml:"Rewrite"` ProxyWeigth int `json:"ProxyWeigth,omitempty" yaml:"ProxyWeigth"` ProxyPass string `json:"ProxyPass,omitempty" yaml:"ProxyPass"` ProxyRewrite string `json:"ProxyRewrite,omitempty"yaml:"ProxyRewrite"` ProxyHost string `json:"ProxyHost,omitempty" yaml:"ProxyHost"` Params map[string]string `json:"Params,omitempty" yaml:"Params"` // 和 Location 一起进行匹配g // contains filtered or unexported fields }
func (*Rule) GetLocationVal ¶
Click to show internal directories.
Click to hide internal directories.