Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunMapGCbYGoroutineID ¶ added in v0.3.0
Types ¶
type AgentRegisterReq ¶
type AgentRegisterReq struct {
AutoCreateProject bool `json:"autoCreateProject"`
Name string `json:"name"`
Language string `json:"language"`
Version string `json:"version"`
ProjectName string `json:"projectName"`
Hostname string `json:"hostname"`
Network string `json:"network"`
ContainerName string `json:"containerName"`
ContainerVersion string `json:"containerVersion"`
ServerAddr string `json:"serverAddr"`
ServerPort string `json:"serverPort"`
ServerPath string `json:"serverPath"`
ServerEnv string `json:"serverEnv"`
Pid string `json:"pid"`
}
type Function ¶
type Function struct {
Uri string `json:"uri"`
Url string `json:"url"`
Protocol string `json:"protocol"`
ContextPath string `json:"contextPath"`
Pool []Pool `json:"pool"`
Language string `json:"language"`
ClientIp string `json:"clientIp"`
Secure bool `json:"secure"`
QueryString string `json:"queryString"`
ReplayRequest bool `json:"replayRequest"`
Method string `json:"method"`
ReqHeader string `json:"reqHeader"`
ReqBody string `json:"reqBody"`
ResBody string `json:"resBody"`
Scheme string `json:"scheme"`
ResHeader string `json:"resHeader"`
}
type HookRuleReq ¶
type HookRuleReq struct {
Language string `json:"language"`
}
type Pool ¶
type Pool struct {
InvokeId int `json:"invokeId"`
Interfaces []interface{} `json:"interfaces"`
TargetHash []string `json:"targetHash"`
TargetValues string `json:"targetValues"`
Signature string `json:"signature"`
OriginClassName string `json:"originClassName"`
SourceValues string `json:"sourceValues"`
MethodName string `json:"methodName"`
ClassName string `json:"className"`
Source bool `json:"source"`
CallerLineNumber int `json:"callerLineNumber"`
CallerClass string `json:"callerClass"`
Args string `json:"args"`
CallerMethod string `json:"callerMethod"`
SourceHash []string `json:"sourceHash"`
RetClassName string `json:"retClassName"`
}
func FmtHookPool ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.