Documentation
¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterAnalysisHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAnalysisHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AnalysisClient) error
- func RegisterAnalysisHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAnalysisHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AnalysisServer) error
- func RegisterAnalysisServer(s grpc.ServiceRegistrar, srv AnalysisServer)
- type AnalysisByGIDReply
- func (*AnalysisByGIDReply) Descriptor() ([]byte, []int)deprecated
- func (x *AnalysisByGIDReply) GetTraceData() []*AnalysisByGIDReply_TraceData
- func (*AnalysisByGIDReply) ProtoMessage()
- func (x *AnalysisByGIDReply) ProtoReflect() protoreflect.Message
- func (x *AnalysisByGIDReply) Reset()
- func (x *AnalysisByGIDReply) String() string
- type AnalysisByGIDReply_TraceData
- func (*AnalysisByGIDReply_TraceData) Descriptor() ([]byte, []int)deprecated
- func (x *AnalysisByGIDReply_TraceData) GetGid() int32
- func (x *AnalysisByGIDReply_TraceData) GetId() int32
- func (x *AnalysisByGIDReply_TraceData) GetIndent() int32
- func (x *AnalysisByGIDReply_TraceData) GetName() string
- func (x *AnalysisByGIDReply_TraceData) GetParamCount() int32
- func (x *AnalysisByGIDReply_TraceData) GetParams() []*TraceParams
- func (x *AnalysisByGIDReply_TraceData) GetParentId() int64
- func (x *AnalysisByGIDReply_TraceData) GetTimeCost() string
- func (*AnalysisByGIDReply_TraceData) ProtoMessage()
- func (x *AnalysisByGIDReply_TraceData) ProtoReflect() protoreflect.Message
- func (x *AnalysisByGIDReply_TraceData) Reset()
- func (x *AnalysisByGIDReply_TraceData) String() string
- type AnalysisByGIDRequest
- func (*AnalysisByGIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnalysisByGIDRequest) GetDbpath() string
- func (x *AnalysisByGIDRequest) GetGid() string
- func (*AnalysisByGIDRequest) ProtoMessage()
- func (x *AnalysisByGIDRequest) ProtoReflect() protoreflect.Message
- func (x *AnalysisByGIDRequest) Reset()
- func (x *AnalysisByGIDRequest) String() string
- type AnalysisClient
- type AnalysisReply
- type AnalysisRequest
- func (*AnalysisRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnalysisRequest) GetDbpath() string
- func (x *AnalysisRequest) GetName() string
- func (*AnalysisRequest) ProtoMessage()
- func (x *AnalysisRequest) ProtoReflect() protoreflect.Message
- func (x *AnalysisRequest) Reset()
- func (x *AnalysisRequest) String() string
- type AnalysisServer
- type AnalyzeDbFileRequest
- func (*AnalyzeDbFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeDbFileRequest) GetDbPath() string
- func (*AnalyzeDbFileRequest) ProtoMessage()
- func (x *AnalyzeDbFileRequest) ProtoReflect() protoreflect.Message
- func (x *AnalyzeDbFileRequest) Reset()
- func (x *AnalyzeDbFileRequest) String() string
- type AnalyzeDbFileResponse
- func (*AnalyzeDbFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeDbFileResponse) GetHotFunctions() []*HotFunction
- func (x *AnalyzeDbFileResponse) GetPackageDependencies() []*PackageDependency
- func (x *AnalyzeDbFileResponse) GetTotalCalls() int32
- func (x *AnalyzeDbFileResponse) GetTotalFunctions() int32
- func (x *AnalyzeDbFileResponse) GetTotalPackages() int32
- func (*AnalyzeDbFileResponse) ProtoMessage()
- func (x *AnalyzeDbFileResponse) ProtoReflect() protoreflect.Message
- func (x *AnalyzeDbFileResponse) Reset()
- func (x *AnalyzeDbFileResponse) String() string
- type AnalyzeProjectPathRequest
- func (*AnalyzeProjectPathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeProjectPathRequest) GetPath() string
- func (*AnalyzeProjectPathRequest) ProtoMessage()
- func (x *AnalyzeProjectPathRequest) ProtoReflect() protoreflect.Message
- func (x *AnalyzeProjectPathRequest) Reset()
- func (x *AnalyzeProjectPathRequest) String() string
- type AnalyzeProjectPathResponse
- func (*AnalyzeProjectPathResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeProjectPathResponse) GetDbPath() string
- func (x *AnalyzeProjectPathResponse) GetMessage() string
- func (x *AnalyzeProjectPathResponse) GetSuccess() bool
- func (*AnalyzeProjectPathResponse) ProtoMessage()
- func (x *AnalyzeProjectPathResponse) ProtoReflect() protoreflect.Message
- func (x *AnalyzeProjectPathResponse) Reset()
- func (x *AnalyzeProjectPathResponse) String() string
- type DbFileInfo
- func (*DbFileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DbFileInfo) GetCreateTime() string
- func (x *DbFileInfo) GetName() string
- func (x *DbFileInfo) GetPath() string
- func (x *DbFileInfo) GetSize() int64
- func (*DbFileInfo) ProtoMessage()
- func (x *DbFileInfo) ProtoReflect() protoreflect.Message
- func (x *DbFileInfo) Reset()
- func (x *DbFileInfo) String() string
- type ErrorReason
- func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorReason) Enum() *ErrorReason
- func (ErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorReason) Number() protoreflect.EnumNumber
- func (x ErrorReason) String() string
- func (ErrorReason) Type() protoreflect.EnumType
- type GenerateImageReply
- func (*GenerateImageReply) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateImageReply) GetImage() string
- func (*GenerateImageReply) ProtoMessage()
- func (x *GenerateImageReply) ProtoReflect() protoreflect.Message
- func (x *GenerateImageReply) Reset()
- func (x *GenerateImageReply) String() string
- type GenerateImageReq
- func (*GenerateImageReq) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateImageReq) GetDbpath() string
- func (x *GenerateImageReq) GetGid() string
- func (*GenerateImageReq) ProtoMessage()
- func (x *GenerateImageReq) ProtoReflect() protoreflect.Message
- func (x *GenerateImageReq) Reset()
- func (x *GenerateImageReq) String() string
- type GetAllFunctionNameReply
- func (*GetAllFunctionNameReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllFunctionNameReply) GetFunctionNames() []string
- func (*GetAllFunctionNameReply) ProtoMessage()
- func (x *GetAllFunctionNameReply) ProtoReflect() protoreflect.Message
- func (x *GetAllFunctionNameReply) Reset()
- func (x *GetAllFunctionNameReply) String() string
- type GetAllFunctionNameReq
- func (*GetAllFunctionNameReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllFunctionNameReq) GetDbpath() string
- func (*GetAllFunctionNameReq) ProtoMessage()
- func (x *GetAllFunctionNameReq) ProtoReflect() protoreflect.Message
- func (x *GetAllFunctionNameReq) Reset()
- func (x *GetAllFunctionNameReq) String() string
- type GetAllGIDsReply
- func (*GetAllGIDsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllGIDsReply) GetBody() []*GetAllGIDsReply_Body
- func (x *GetAllGIDsReply) GetTotal() int32
- func (*GetAllGIDsReply) ProtoMessage()
- func (x *GetAllGIDsReply) ProtoReflect() protoreflect.Message
- func (x *GetAllGIDsReply) Reset()
- func (x *GetAllGIDsReply) String() string
- type GetAllGIDsReply_Body
- func (*GetAllGIDsReply_Body) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllGIDsReply_Body) GetDepth() int32
- func (x *GetAllGIDsReply_Body) GetExecutionTime() string
- func (x *GetAllGIDsReply_Body) GetGid() uint64
- func (x *GetAllGIDsReply_Body) GetInitialFunc() string
- func (x *GetAllGIDsReply_Body) GetIsFinished() bool
- func (*GetAllGIDsReply_Body) ProtoMessage()
- func (x *GetAllGIDsReply_Body) ProtoReflect() protoreflect.Message
- func (x *GetAllGIDsReply_Body) Reset()
- func (x *GetAllGIDsReply_Body) String() string
- type GetAllGIDsReq
- func (*GetAllGIDsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllGIDsReq) GetDbpath() string
- func (x *GetAllGIDsReq) GetIncludeMetrics() bool
- func (x *GetAllGIDsReq) GetLimit() int32
- func (x *GetAllGIDsReq) GetPage() int32
- func (*GetAllGIDsReq) ProtoMessage()
- func (x *GetAllGIDsReq) ProtoReflect() protoreflect.Message
- func (x *GetAllGIDsReq) Reset()
- func (x *GetAllGIDsReq) String() string
- type GetAllParentIdsReply
- func (*GetAllParentIdsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllParentIdsReply) GetParentIds() []int64
- func (*GetAllParentIdsReply) ProtoMessage()
- func (x *GetAllParentIdsReply) ProtoReflect() protoreflect.Message
- func (x *GetAllParentIdsReply) Reset()
- func (x *GetAllParentIdsReply) String() string
- type GetAllParentIdsReq
- func (*GetAllParentIdsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllParentIdsReq) GetDbpath() string
- func (*GetAllParentIdsReq) ProtoMessage()
- func (x *GetAllParentIdsReq) ProtoReflect() protoreflect.Message
- func (x *GetAllParentIdsReq) Reset()
- func (x *GetAllParentIdsReq) String() string
- type GetChildFunctionsReply
- func (*GetChildFunctionsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetChildFunctionsReply) GetChildFunctions() []string
- func (*GetChildFunctionsReply) ProtoMessage()
- func (x *GetChildFunctionsReply) ProtoReflect() protoreflect.Message
- func (x *GetChildFunctionsReply) Reset()
- func (x *GetChildFunctionsReply) String() string
- type GetChildFunctionsReq
- func (*GetChildFunctionsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetChildFunctionsReq) GetDbpath() string
- func (x *GetChildFunctionsReq) GetParentId() int64
- func (*GetChildFunctionsReq) ProtoMessage()
- func (x *GetChildFunctionsReq) ProtoReflect() protoreflect.Message
- func (x *GetChildFunctionsReq) Reset()
- func (x *GetChildFunctionsReq) String() string
- type GetFunctionAnalysisReply
- func (*GetFunctionAnalysisReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetFunctionAnalysisReply) GetCallData() []*GetFunctionAnalysisReply_FunctionNode
- func (*GetFunctionAnalysisReply) ProtoMessage()
- func (x *GetFunctionAnalysisReply) ProtoReflect() protoreflect.Message
- func (x *GetFunctionAnalysisReply) Reset()
- func (x *GetFunctionAnalysisReply) String() string
- type GetFunctionAnalysisReply_FunctionNode
- func (*GetFunctionAnalysisReply_FunctionNode) Descriptor() ([]byte, []int)deprecated
- func (x *GetFunctionAnalysisReply_FunctionNode) GetAvgTime() string
- func (x *GetFunctionAnalysisReply_FunctionNode) GetCallCount() int32
- func (x *GetFunctionAnalysisReply_FunctionNode) GetChildren() []*GetFunctionAnalysisReply_FunctionNode
- func (x *GetFunctionAnalysisReply_FunctionNode) GetId() string
- func (x *GetFunctionAnalysisReply_FunctionNode) GetName() string
- func (x *GetFunctionAnalysisReply_FunctionNode) GetPackage() string
- func (*GetFunctionAnalysisReply_FunctionNode) ProtoMessage()
- func (x *GetFunctionAnalysisReply_FunctionNode) ProtoReflect() protoreflect.Message
- func (x *GetFunctionAnalysisReply_FunctionNode) Reset()
- func (x *GetFunctionAnalysisReply_FunctionNode) String() string
- type GetFunctionAnalysisReq
- func (*GetFunctionAnalysisReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetFunctionAnalysisReq) GetFunctionName() string
- func (x *GetFunctionAnalysisReq) GetPath() string
- func (x *GetFunctionAnalysisReq) GetType() string
- func (*GetFunctionAnalysisReq) ProtoMessage()
- func (x *GetFunctionAnalysisReq) ProtoReflect() protoreflect.Message
- func (x *GetFunctionAnalysisReq) Reset()
- func (x *GetFunctionAnalysisReq) String() string
- type GetFunctionCallGraphReply
- func (*GetFunctionCallGraphReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetFunctionCallGraphReply) GetEdges() []*GetFunctionCallGraphReply_GraphEdge
- func (x *GetFunctionCallGraphReply) GetNodes() []*GetFunctionCallGraphReply_GraphNode
- func (*GetFunctionCallGraphReply) ProtoMessage()
- func (x *GetFunctionCallGraphReply) ProtoReflect() protoreflect.Message
- func (x *GetFunctionCallGraphReply) Reset()
- func (x *GetFunctionCallGraphReply) String() string
- type GetFunctionCallGraphReply_GraphEdge
- func (*GetFunctionCallGraphReply_GraphEdge) Descriptor() ([]byte, []int)deprecated
- func (x *GetFunctionCallGraphReply_GraphEdge) GetEdgeType() string
- func (x *GetFunctionCallGraphReply_GraphEdge) GetLabel() string
- func (x *GetFunctionCallGraphReply_GraphEdge) GetSource() string
- func (x *GetFunctionCallGraphReply_GraphEdge) GetTarget() string
- func (*GetFunctionCallGraphReply_GraphEdge) ProtoMessage()
- func (x *GetFunctionCallGraphReply_GraphEdge) ProtoReflect() protoreflect.Message
- func (x *GetFunctionCallGraphReply_GraphEdge) Reset()
- func (x *GetFunctionCallGraphReply_GraphEdge) String() string
- type GetFunctionCallGraphReply_GraphNode
- func (*GetFunctionCallGraphReply_GraphNode) Descriptor() ([]byte, []int)deprecated
- func (x *GetFunctionCallGraphReply_GraphNode) GetAvgTime() string
- func (x *GetFunctionCallGraphReply_GraphNode) GetCallCount() int32
- func (x *GetFunctionCallGraphReply_GraphNode) GetId() string
- func (x *GetFunctionCallGraphReply_GraphNode) GetName() string
- func (x *GetFunctionCallGraphReply_GraphNode) GetNodeType() string
- func (x *GetFunctionCallGraphReply_GraphNode) GetPackage() string
- func (*GetFunctionCallGraphReply_GraphNode) ProtoMessage()
- func (x *GetFunctionCallGraphReply_GraphNode) ProtoReflect() protoreflect.Message
- func (x *GetFunctionCallGraphReply_GraphNode) Reset()
- func (x *GetFunctionCallGraphReply_GraphNode) String() string
- type GetFunctionCallGraphReq
- func (*GetFunctionCallGraphReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetFunctionCallGraphReq) GetDbpath() string
- func (x *GetFunctionCallGraphReq) GetDepth() int32
- func (x *GetFunctionCallGraphReq) GetDirection() string
- func (x *GetFunctionCallGraphReq) GetFunctionName() string
- func (*GetFunctionCallGraphReq) ProtoMessage()
- func (x *GetFunctionCallGraphReq) ProtoReflect() protoreflect.Message
- func (x *GetFunctionCallGraphReq) Reset()
- func (x *GetFunctionCallGraphReq) String() string
- type GetGidsByFunctionNameReply
- func (*GetGidsByFunctionNameReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetGidsByFunctionNameReply) GetBody() []*GetGidsByFunctionNameReply_Body
- func (x *GetGidsByFunctionNameReply) GetTotal() int32
- func (*GetGidsByFunctionNameReply) ProtoMessage()
- func (x *GetGidsByFunctionNameReply) ProtoReflect() protoreflect.Message
- func (x *GetGidsByFunctionNameReply) Reset()
- func (x *GetGidsByFunctionNameReply) String() string
- type GetGidsByFunctionNameReply_Body
- func (*GetGidsByFunctionNameReply_Body) Descriptor() ([]byte, []int)deprecated
- func (x *GetGidsByFunctionNameReply_Body) GetDepth() int32
- func (x *GetGidsByFunctionNameReply_Body) GetExecutionTime() string
- func (x *GetGidsByFunctionNameReply_Body) GetGid() uint64
- func (x *GetGidsByFunctionNameReply_Body) GetInitialFunc() string
- func (x *GetGidsByFunctionNameReply_Body) GetIsFinished() bool
- func (*GetGidsByFunctionNameReply_Body) ProtoMessage()
- func (x *GetGidsByFunctionNameReply_Body) ProtoReflect() protoreflect.Message
- func (x *GetGidsByFunctionNameReply_Body) Reset()
- func (x *GetGidsByFunctionNameReply_Body) String() string
- type GetGidsByFunctionNameReq
- func (*GetGidsByFunctionNameReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetGidsByFunctionNameReq) GetFunctionName() string
- func (x *GetGidsByFunctionNameReq) GetIncludeMetrics() bool
- func (x *GetGidsByFunctionNameReq) GetPath() string
- func (*GetGidsByFunctionNameReq) ProtoMessage()
- func (x *GetGidsByFunctionNameReq) ProtoReflect() protoreflect.Message
- func (x *GetGidsByFunctionNameReq) Reset()
- func (x *GetGidsByFunctionNameReq) String() string
- type GetGoroutineStatsReply
- func (*GetGoroutineStatsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetGoroutineStatsReply) GetActive() int32
- func (x *GetGoroutineStatsReply) GetAvgTime() string
- func (x *GetGoroutineStatsReply) GetMaxDepth() int32
- func (*GetGoroutineStatsReply) ProtoMessage()
- func (x *GetGoroutineStatsReply) ProtoReflect() protoreflect.Message
- func (x *GetGoroutineStatsReply) Reset()
- func (x *GetGoroutineStatsReply) String() string
- type GetGoroutineStatsReq
- func (*GetGoroutineStatsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetGoroutineStatsReq) GetDbpath() string
- func (*GetGoroutineStatsReq) ProtoMessage()
- func (x *GetGoroutineStatsReq) ProtoReflect() protoreflect.Message
- func (x *GetGoroutineStatsReq) Reset()
- func (x *GetGoroutineStatsReq) String() string
- type GetHotFunctionsReply
- func (*GetHotFunctionsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetHotFunctionsReply) GetFunctions() []*GetHotFunctionsReply_HotFunction
- func (*GetHotFunctionsReply) ProtoMessage()
- func (x *GetHotFunctionsReply) ProtoReflect() protoreflect.Message
- func (x *GetHotFunctionsReply) Reset()
- func (x *GetHotFunctionsReply) String() string
- type GetHotFunctionsReply_HotFunction
- func (*GetHotFunctionsReply_HotFunction) Descriptor() ([]byte, []int)deprecated
- func (x *GetHotFunctionsReply_HotFunction) GetAvgTime() string
- func (x *GetHotFunctionsReply_HotFunction) GetCallCount() int32
- func (x *GetHotFunctionsReply_HotFunction) GetName() string
- func (x *GetHotFunctionsReply_HotFunction) GetPackage() string
- func (x *GetHotFunctionsReply_HotFunction) GetTotalTime() string
- func (*GetHotFunctionsReply_HotFunction) ProtoMessage()
- func (x *GetHotFunctionsReply_HotFunction) ProtoReflect() protoreflect.Message
- func (x *GetHotFunctionsReply_HotFunction) Reset()
- func (x *GetHotFunctionsReply_HotFunction) String() string
- type GetHotFunctionsReq
- func (*GetHotFunctionsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetHotFunctionsReq) GetDbpath() string
- func (x *GetHotFunctionsReq) GetSortBy() string
- func (*GetHotFunctionsReq) ProtoMessage()
- func (x *GetHotFunctionsReq) ProtoReflect() protoreflect.Message
- func (x *GetHotFunctionsReq) Reset()
- func (x *GetHotFunctionsReq) String() string
- type GetParamsByIDReply
- func (*GetParamsByIDReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetParamsByIDReply) GetParams() []*TraceParams
- func (*GetParamsByIDReply) ProtoMessage()
- func (x *GetParamsByIDReply) ProtoReflect() protoreflect.Message
- func (x *GetParamsByIDReply) Reset()
- func (x *GetParamsByIDReply) String() string
- type GetParamsByIDReq
- func (*GetParamsByIDReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetParamsByIDReq) GetDbpath() string
- func (x *GetParamsByIDReq) GetId() int32
- func (*GetParamsByIDReq) ProtoMessage()
- func (x *GetParamsByIDReq) ProtoReflect() protoreflect.Message
- func (x *GetParamsByIDReq) Reset()
- func (x *GetParamsByIDReq) String() string
- type GetStaticDbFilesRequest
- type GetStaticDbFilesResponse
- func (*GetStaticDbFilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStaticDbFilesResponse) GetFiles() []*DbFileInfo
- func (*GetStaticDbFilesResponse) ProtoMessage()
- func (x *GetStaticDbFilesResponse) ProtoReflect() protoreflect.Message
- func (x *GetStaticDbFilesResponse) Reset()
- func (x *GetStaticDbFilesResponse) String() string
- type GetTraceGraphReply
- func (*GetTraceGraphReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetTraceGraphReply) GetEdges() []*GraphEdge
- func (x *GetTraceGraphReply) GetNodes() []*GraphNode
- func (*GetTraceGraphReply) ProtoMessage()
- func (x *GetTraceGraphReply) ProtoReflect() protoreflect.Message
- func (x *GetTraceGraphReply) Reset()
- func (x *GetTraceGraphReply) String() string
- type GetTraceGraphReq
- func (*GetTraceGraphReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetTraceGraphReq) GetDbpath() string
- func (x *GetTraceGraphReq) GetGid() string
- func (*GetTraceGraphReq) ProtoMessage()
- func (x *GetTraceGraphReq) ProtoReflect() protoreflect.Message
- func (x *GetTraceGraphReq) Reset()
- func (x *GetTraceGraphReq) String() string
- type GetTracesByParentFuncReply
- func (*GetTracesByParentFuncReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetTracesByParentFuncReply) GetTraceData() []*GetTracesByParentFuncReply_TraceData
- func (*GetTracesByParentFuncReply) ProtoMessage()
- func (x *GetTracesByParentFuncReply) ProtoReflect() protoreflect.Message
- func (x *GetTracesByParentFuncReply) Reset()
- func (x *GetTracesByParentFuncReply) String() string
- type GetTracesByParentFuncReply_TraceData
- func (*GetTracesByParentFuncReply_TraceData) Descriptor() ([]byte, []int)deprecated
- func (x *GetTracesByParentFuncReply_TraceData) GetGid() int32
- func (x *GetTracesByParentFuncReply_TraceData) GetId() int32
- func (x *GetTracesByParentFuncReply_TraceData) GetIndent() int32
- func (x *GetTracesByParentFuncReply_TraceData) GetName() string
- func (x *GetTracesByParentFuncReply_TraceData) GetParamCount() int32
- func (x *GetTracesByParentFuncReply_TraceData) GetParams() []*TraceParams
- func (x *GetTracesByParentFuncReply_TraceData) GetParentId() int64
- func (x *GetTracesByParentFuncReply_TraceData) GetTimeCost() string
- func (*GetTracesByParentFuncReply_TraceData) ProtoMessage()
- func (x *GetTracesByParentFuncReply_TraceData) ProtoReflect() protoreflect.Message
- func (x *GetTracesByParentFuncReply_TraceData) Reset()
- func (x *GetTracesByParentFuncReply_TraceData) String() string
- type GetTracesByParentFuncReq
- func (*GetTracesByParentFuncReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetTracesByParentFuncReq) GetDbpath() string
- func (x *GetTracesByParentFuncReq) GetParentId() int64
- func (*GetTracesByParentFuncReq) ProtoMessage()
- func (x *GetTracesByParentFuncReq) ProtoReflect() protoreflect.Message
- func (x *GetTracesByParentFuncReq) Reset()
- func (x *GetTracesByParentFuncReq) String() string
- type GetUnfinishedFunctionsReply
- func (*GetUnfinishedFunctionsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetUnfinishedFunctionsReply) GetFunctions() []*GetUnfinishedFunctionsReply_UnfinishedFunction
- func (x *GetUnfinishedFunctionsReply) GetTotal() int32
- func (*GetUnfinishedFunctionsReply) ProtoMessage()
- func (x *GetUnfinishedFunctionsReply) ProtoReflect() protoreflect.Message
- func (x *GetUnfinishedFunctionsReply) Reset()
- func (x *GetUnfinishedFunctionsReply) String() string
- type GetUnfinishedFunctionsReply_UnfinishedFunction
- func (*GetUnfinishedFunctionsReply_UnfinishedFunction) Descriptor() ([]byte, []int)deprecated
- func (x *GetUnfinishedFunctionsReply_UnfinishedFunction) GetFunctionId() int64
- func (x *GetUnfinishedFunctionsReply_UnfinishedFunction) GetGid() uint64
- func (x *GetUnfinishedFunctionsReply_UnfinishedFunction) GetIsBlocking() bool
- func (x *GetUnfinishedFunctionsReply_UnfinishedFunction) GetName() string
- func (x *GetUnfinishedFunctionsReply_UnfinishedFunction) GetRunningTime() string
- func (*GetUnfinishedFunctionsReply_UnfinishedFunction) ProtoMessage()
- func (x *GetUnfinishedFunctionsReply_UnfinishedFunction) ProtoReflect() protoreflect.Message
- func (x *GetUnfinishedFunctionsReply_UnfinishedFunction) Reset()
- func (x *GetUnfinishedFunctionsReply_UnfinishedFunction) String() string
- type GetUnfinishedFunctionsReq
- func (*GetUnfinishedFunctionsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetUnfinishedFunctionsReq) GetDbpath() string
- func (x *GetUnfinishedFunctionsReq) GetLimit() int32
- func (x *GetUnfinishedFunctionsReq) GetPage() int32
- func (x *GetUnfinishedFunctionsReq) GetThreshold() int64
- func (*GetUnfinishedFunctionsReq) ProtoMessage()
- func (x *GetUnfinishedFunctionsReq) ProtoReflect() protoreflect.Message
- func (x *GetUnfinishedFunctionsReq) Reset()
- func (x *GetUnfinishedFunctionsReq) String() string
- type GraphEdge
- func (*GraphEdge) Descriptor() ([]byte, []int)deprecated
- func (x *GraphEdge) GetCount() int32
- func (x *GraphEdge) GetLabel() string
- func (x *GraphEdge) GetSource() string
- func (x *GraphEdge) GetTarget() string
- func (*GraphEdge) ProtoMessage()
- func (x *GraphEdge) ProtoReflect() protoreflect.Message
- func (x *GraphEdge) Reset()
- func (x *GraphEdge) String() string
- type GraphNode
- func (*GraphNode) Descriptor() ([]byte, []int)deprecated
- func (x *GraphNode) GetCallCount() int32
- func (x *GraphNode) GetId() string
- func (x *GraphNode) GetName() string
- func (x *GraphNode) GetPackage() string
- func (x *GraphNode) GetTimeCost() string
- func (*GraphNode) ProtoMessage()
- func (x *GraphNode) ProtoReflect() protoreflect.Message
- func (x *GraphNode) Reset()
- func (x *GraphNode) String() string
- type HotFunction
- func (*HotFunction) Descriptor() ([]byte, []int)deprecated
- func (x *HotFunction) GetCallCount() int32
- func (x *HotFunction) GetName() string
- func (*HotFunction) ProtoMessage()
- func (x *HotFunction) ProtoReflect() protoreflect.Message
- func (x *HotFunction) Reset()
- func (x *HotFunction) String() string
- type InstrumentProjectReply
- func (*InstrumentProjectReply) Descriptor() ([]byte, []int)deprecated
- func (x *InstrumentProjectReply) GetMessage() string
- func (x *InstrumentProjectReply) GetSuccess() bool
- func (*InstrumentProjectReply) ProtoMessage()
- func (x *InstrumentProjectReply) ProtoReflect() protoreflect.Message
- func (x *InstrumentProjectReply) Reset()
- func (x *InstrumentProjectReply) String() string
- type InstrumentProjectReq
- func (*InstrumentProjectReq) Descriptor() ([]byte, []int)deprecated
- func (x *InstrumentProjectReq) GetPath() string
- func (*InstrumentProjectReq) ProtoMessage()
- func (x *InstrumentProjectReq) ProtoReflect() protoreflect.Message
- func (x *InstrumentProjectReq) Reset()
- func (x *InstrumentProjectReq) String() string
- type PackageDependency
- func (*PackageDependency) Descriptor() ([]byte, []int)deprecated
- func (x *PackageDependency) GetCount() int32
- func (x *PackageDependency) GetSource() string
- func (x *PackageDependency) GetTarget() string
- func (*PackageDependency) ProtoMessage()
- func (x *PackageDependency) ProtoReflect() protoreflect.Message
- func (x *PackageDependency) Reset()
- func (x *PackageDependency) String() string
- type TraceParams
- type UnimplementedAnalysisServer
- func (UnimplementedAnalysisServer) GetAllFunctionName(context.Context, *GetAllFunctionNameReq) (*GetAllFunctionNameReply, error)
- func (UnimplementedAnalysisServer) GetAllGIDs(context.Context, *GetAllGIDsReq) (*GetAllGIDsReply, error)
- func (UnimplementedAnalysisServer) GetAllParentIds(context.Context, *GetAllParentIdsReq) (*GetAllParentIdsReply, error)
- func (UnimplementedAnalysisServer) GetAnalysis(context.Context, *AnalysisRequest) (*AnalysisReply, error)
- func (UnimplementedAnalysisServer) GetAnalysisByGID(context.Context, *AnalysisByGIDRequest) (*AnalysisByGIDReply, error)
- func (UnimplementedAnalysisServer) GetChildFunctions(context.Context, *GetChildFunctionsReq) (*GetChildFunctionsReply, error)
- func (UnimplementedAnalysisServer) GetFunctionAnalysis(context.Context, *GetFunctionAnalysisReq) (*GetFunctionAnalysisReply, error)
- func (UnimplementedAnalysisServer) GetFunctionCallGraph(context.Context, *GetFunctionCallGraphReq) (*GetFunctionCallGraphReply, error)
- func (UnimplementedAnalysisServer) GetGidsByFunctionName(context.Context, *GetGidsByFunctionNameReq) (*GetGidsByFunctionNameReply, error)
- func (UnimplementedAnalysisServer) GetGoroutineStats(context.Context, *GetGoroutineStatsReq) (*GetGoroutineStatsReply, error)
- func (UnimplementedAnalysisServer) GetHotFunctions(context.Context, *GetHotFunctionsReq) (*GetHotFunctionsReply, error)
- func (UnimplementedAnalysisServer) GetParamsByID(context.Context, *GetParamsByIDReq) (*GetParamsByIDReply, error)
- func (UnimplementedAnalysisServer) GetTraceGraph(context.Context, *GetTraceGraphReq) (*GetTraceGraphReply, error)
- func (UnimplementedAnalysisServer) GetTracesByParentFunc(context.Context, *GetTracesByParentFuncReq) (*GetTracesByParentFuncReply, error)
- func (UnimplementedAnalysisServer) GetUnfinishedFunctions(context.Context, *GetUnfinishedFunctionsReq) (*GetUnfinishedFunctionsReply, error)
- func (UnimplementedAnalysisServer) InstrumentProject(context.Context, *InstrumentProjectReq) (*InstrumentProjectReply, error)
- func (UnimplementedAnalysisServer) VerifyProjectPath(context.Context, *VerifyProjectPathReq) (*VerifyProjectPathReply, error)
- type UnsafeAnalysisServer
- type VerifyProjectPathReply
- func (*VerifyProjectPathReply) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyProjectPathReply) GetVerified() bool
- func (*VerifyProjectPathReply) ProtoMessage()
- func (x *VerifyProjectPathReply) ProtoReflect() protoreflect.Message
- func (x *VerifyProjectPathReply) Reset()
- func (x *VerifyProjectPathReply) String() string
- type VerifyProjectPathReq
- func (*VerifyProjectPathReq) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyProjectPathReq) GetPath() string
- func (*VerifyProjectPathReq) ProtoMessage()
- func (x *VerifyProjectPathReq) ProtoReflect() protoreflect.Message
- func (x *VerifyProjectPathReq) Reset()
- func (x *VerifyProjectPathReq) String() string
Constants ¶
const ( Analysis_GetAnalysis_FullMethodName = "/analysis.v1.Analysis/GetAnalysis" Analysis_GetAnalysisByGID_FullMethodName = "/analysis.v1.Analysis/GetAnalysisByGID" Analysis_GetAllGIDs_FullMethodName = "/analysis.v1.Analysis/GetAllGIDs" Analysis_GetParamsByID_FullMethodName = "/analysis.v1.Analysis/GetParamsByID" Analysis_GetAllFunctionName_FullMethodName = "/analysis.v1.Analysis/GetAllFunctionName" Analysis_GetGidsByFunctionName_FullMethodName = "/analysis.v1.Analysis/GetGidsByFunctionName" Analysis_VerifyProjectPath_FullMethodName = "/analysis.v1.Analysis/VerifyProjectPath" Analysis_GetTraceGraph_FullMethodName = "/analysis.v1.Analysis/GetTraceGraph" Analysis_GetTracesByParentFunc_FullMethodName = "/analysis.v1.Analysis/GetTracesByParentFunc" Analysis_GetAllParentIds_FullMethodName = "/analysis.v1.Analysis/GetAllParentIds" Analysis_GetChildFunctions_FullMethodName = "/analysis.v1.Analysis/GetChildFunctions" Analysis_GetHotFunctions_FullMethodName = "/analysis.v1.Analysis/GetHotFunctions" Analysis_GetGoroutineStats_FullMethodName = "/analysis.v1.Analysis/GetGoroutineStats" Analysis_GetFunctionAnalysis_FullMethodName = "/analysis.v1.Analysis/GetFunctionAnalysis" Analysis_GetFunctionCallGraph_FullMethodName = "/analysis.v1.Analysis/GetFunctionCallGraph" Analysis_InstrumentProject_FullMethodName = "/analysis.v1.Analysis/InstrumentProject" Analysis_GetUnfinishedFunctions_FullMethodName = "/analysis.v1.Analysis/GetUnfinishedFunctions" )
Variables ¶
var ( ErrorReason_name = map[int32]string{ 0: "GREETER_UNSPECIFIED", 1: "USER_NOT_FOUND", } ErrorReason_value = map[string]int32{ "GREETER_UNSPECIFIED": 0, "USER_NOT_FOUND": 1, } )
Enum value maps for ErrorReason.
var Analysis_ServiceDesc = grpc.ServiceDesc{ ServiceName: "analysis.v1.Analysis", HandlerType: (*AnalysisServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAnalysis", Handler: _Analysis_GetAnalysis_Handler, }, { MethodName: "GetAnalysisByGID", Handler: _Analysis_GetAnalysisByGID_Handler, }, { MethodName: "GetAllGIDs", Handler: _Analysis_GetAllGIDs_Handler, }, { MethodName: "GetParamsByID", Handler: _Analysis_GetParamsByID_Handler, }, { MethodName: "GetAllFunctionName", Handler: _Analysis_GetAllFunctionName_Handler, }, { MethodName: "GetGidsByFunctionName", Handler: _Analysis_GetGidsByFunctionName_Handler, }, { MethodName: "VerifyProjectPath", Handler: _Analysis_VerifyProjectPath_Handler, }, { MethodName: "GetTraceGraph", Handler: _Analysis_GetTraceGraph_Handler, }, { MethodName: "GetTracesByParentFunc", Handler: _Analysis_GetTracesByParentFunc_Handler, }, { MethodName: "GetAllParentIds", Handler: _Analysis_GetAllParentIds_Handler, }, { MethodName: "GetChildFunctions", Handler: _Analysis_GetChildFunctions_Handler, }, { MethodName: "GetHotFunctions", Handler: _Analysis_GetHotFunctions_Handler, }, { MethodName: "GetGoroutineStats", Handler: _Analysis_GetGoroutineStats_Handler, }, { MethodName: "GetFunctionAnalysis", Handler: _Analysis_GetFunctionAnalysis_Handler, }, { MethodName: "GetFunctionCallGraph", Handler: _Analysis_GetFunctionCallGraph_Handler, }, { MethodName: "InstrumentProject", Handler: _Analysis_InstrumentProject_Handler, }, { MethodName: "GetUnfinishedFunctions", Handler: _Analysis_GetUnfinishedFunctions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "analysis/v1/analysis.proto", }
Analysis_ServiceDesc is the grpc.ServiceDesc for Analysis service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_analysis_v1_analysis_proto protoreflect.FileDescriptor
var File_analysis_v1_error_reason_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAnalysisHandler ¶ added in v1.1.0
func RegisterAnalysisHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAnalysisHandler registers the http handlers for service Analysis to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAnalysisHandlerClient ¶ added in v1.1.0
func RegisterAnalysisHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AnalysisClient) error
RegisterAnalysisHandlerClient registers the http handlers for service Analysis to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AnalysisClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AnalysisClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AnalysisClient" to call the correct interceptors. This client ignores the HTTP middlewares.
func RegisterAnalysisHandlerFromEndpoint ¶ added in v1.1.0
func RegisterAnalysisHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAnalysisHandlerFromEndpoint is same as RegisterAnalysisHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAnalysisHandlerServer ¶ added in v1.1.0
func RegisterAnalysisHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AnalysisServer) error
RegisterAnalysisHandlerServer registers the http handlers for service Analysis to "mux". UnaryRPC :call AnalysisServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAnalysisHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
func RegisterAnalysisServer ¶
func RegisterAnalysisServer(s grpc.ServiceRegistrar, srv AnalysisServer)
Types ¶
type AnalysisByGIDReply ¶
type AnalysisByGIDReply struct {
TraceData []*AnalysisByGIDReply_TraceData `protobuf:"bytes,1,rep,name=trace_data,json=traceData,proto3" json:"trace_data,omitempty"`
// contains filtered or unexported fields
}
func (*AnalysisByGIDReply) Descriptor
deprecated
func (*AnalysisByGIDReply) Descriptor() ([]byte, []int)
Deprecated: Use AnalysisByGIDReply.ProtoReflect.Descriptor instead.
func (*AnalysisByGIDReply) GetTraceData ¶
func (x *AnalysisByGIDReply) GetTraceData() []*AnalysisByGIDReply_TraceData
func (*AnalysisByGIDReply) ProtoMessage ¶
func (*AnalysisByGIDReply) ProtoMessage()
func (*AnalysisByGIDReply) ProtoReflect ¶
func (x *AnalysisByGIDReply) ProtoReflect() protoreflect.Message
func (*AnalysisByGIDReply) Reset ¶
func (x *AnalysisByGIDReply) Reset()
func (*AnalysisByGIDReply) String ¶
func (x *AnalysisByGIDReply) String() string
type AnalysisByGIDReply_TraceData ¶
type AnalysisByGIDReply_TraceData struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Gid int32 `protobuf:"varint,3,opt,name=gid,proto3" json:"gid,omitempty"`
Indent int32 `protobuf:"varint,4,opt,name=indent,proto3" json:"indent,omitempty"`
Params []*TraceParams `protobuf:"bytes,5,rep,name=params,proto3" json:"params,omitempty"`
ParamCount int32 `protobuf:"varint,6,opt,name=paramCount,proto3" json:"paramCount,omitempty"`
TimeCost string `protobuf:"bytes,7,opt,name=timeCost,proto3" json:"timeCost,omitempty"`
ParentId int64 `protobuf:"varint,8,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 父函数ID
// contains filtered or unexported fields
}
func (*AnalysisByGIDReply_TraceData) Descriptor
deprecated
func (*AnalysisByGIDReply_TraceData) Descriptor() ([]byte, []int)
Deprecated: Use AnalysisByGIDReply_TraceData.ProtoReflect.Descriptor instead.
func (*AnalysisByGIDReply_TraceData) GetGid ¶
func (x *AnalysisByGIDReply_TraceData) GetGid() int32
func (*AnalysisByGIDReply_TraceData) GetId ¶
func (x *AnalysisByGIDReply_TraceData) GetId() int32
func (*AnalysisByGIDReply_TraceData) GetIndent ¶
func (x *AnalysisByGIDReply_TraceData) GetIndent() int32
func (*AnalysisByGIDReply_TraceData) GetName ¶
func (x *AnalysisByGIDReply_TraceData) GetName() string
func (*AnalysisByGIDReply_TraceData) GetParamCount ¶
func (x *AnalysisByGIDReply_TraceData) GetParamCount() int32
func (*AnalysisByGIDReply_TraceData) GetParams ¶
func (x *AnalysisByGIDReply_TraceData) GetParams() []*TraceParams
func (*AnalysisByGIDReply_TraceData) GetParentId ¶ added in v1.1.1
func (x *AnalysisByGIDReply_TraceData) GetParentId() int64
func (*AnalysisByGIDReply_TraceData) GetTimeCost ¶
func (x *AnalysisByGIDReply_TraceData) GetTimeCost() string
func (*AnalysisByGIDReply_TraceData) ProtoMessage ¶
func (*AnalysisByGIDReply_TraceData) ProtoMessage()
func (*AnalysisByGIDReply_TraceData) ProtoReflect ¶
func (x *AnalysisByGIDReply_TraceData) ProtoReflect() protoreflect.Message
func (*AnalysisByGIDReply_TraceData) Reset ¶
func (x *AnalysisByGIDReply_TraceData) Reset()
func (*AnalysisByGIDReply_TraceData) String ¶
func (x *AnalysisByGIDReply_TraceData) String() string
type AnalysisByGIDRequest ¶
type AnalysisByGIDRequest struct {
Gid string `protobuf:"bytes,1,opt,name=gid,proto3" json:"gid,omitempty"`
Dbpath string `protobuf:"bytes,2,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
// contains filtered or unexported fields
}
func (*AnalysisByGIDRequest) Descriptor
deprecated
func (*AnalysisByGIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnalysisByGIDRequest.ProtoReflect.Descriptor instead.
func (*AnalysisByGIDRequest) GetDbpath ¶ added in v1.1.0
func (x *AnalysisByGIDRequest) GetDbpath() string
func (*AnalysisByGIDRequest) GetGid ¶
func (x *AnalysisByGIDRequest) GetGid() string
func (*AnalysisByGIDRequest) ProtoMessage ¶
func (*AnalysisByGIDRequest) ProtoMessage()
func (*AnalysisByGIDRequest) ProtoReflect ¶
func (x *AnalysisByGIDRequest) ProtoReflect() protoreflect.Message
func (*AnalysisByGIDRequest) Reset ¶
func (x *AnalysisByGIDRequest) Reset()
func (*AnalysisByGIDRequest) String ¶
func (x *AnalysisByGIDRequest) String() string
type AnalysisClient ¶
type AnalysisClient interface {
// Sends a greeting
GetAnalysis(ctx context.Context, in *AnalysisRequest, opts ...grpc.CallOption) (*AnalysisReply, error)
GetAnalysisByGID(ctx context.Context, in *AnalysisByGIDRequest, opts ...grpc.CallOption) (*AnalysisByGIDReply, error)
GetAllGIDs(ctx context.Context, in *GetAllGIDsReq, opts ...grpc.CallOption) (*GetAllGIDsReply, error)
GetParamsByID(ctx context.Context, in *GetParamsByIDReq, opts ...grpc.CallOption) (*GetParamsByIDReply, error)
GetAllFunctionName(ctx context.Context, in *GetAllFunctionNameReq, opts ...grpc.CallOption) (*GetAllFunctionNameReply, error)
GetGidsByFunctionName(ctx context.Context, in *GetGidsByFunctionNameReq, opts ...grpc.CallOption) (*GetGidsByFunctionNameReply, error)
// 将VerifyProjectPath重定向到CheckDatabase
VerifyProjectPath(ctx context.Context, in *VerifyProjectPathReq, opts ...grpc.CallOption) (*VerifyProjectPathReply, error)
GetTraceGraph(ctx context.Context, in *GetTraceGraphReq, opts ...grpc.CallOption) (*GetTraceGraphReply, error)
// GetTracesByParentFunc 根据父函数ID获取函数调用
GetTracesByParentFunc(ctx context.Context, in *GetTracesByParentFuncReq, opts ...grpc.CallOption) (*GetTracesByParentFuncReply, error)
// GetAllParentIds 获取所有的父函数ID
GetAllParentIds(ctx context.Context, in *GetAllParentIdsReq, opts ...grpc.CallOption) (*GetAllParentIdsReply, error)
// GetChildFunctions 获取函数的子函数
GetChildFunctions(ctx context.Context, in *GetChildFunctionsReq, opts ...grpc.CallOption) (*GetChildFunctionsReply, error)
// GetHotFunctions 获取热点函数分析数据
GetHotFunctions(ctx context.Context, in *GetHotFunctionsReq, opts ...grpc.CallOption) (*GetHotFunctionsReply, error)
// GetGoroutineStats 获取Goroutine统计信息
GetGoroutineStats(ctx context.Context, in *GetGoroutineStatsReq, opts ...grpc.CallOption) (*GetGoroutineStatsReply, error)
// GetFunctionAnalysis 获取函数调用关系分析
GetFunctionAnalysis(ctx context.Context, in *GetFunctionAnalysisReq, opts ...grpc.CallOption) (*GetFunctionAnalysisReply, error)
// GetFunctionCallGraph 获取函数调用关系图
GetFunctionCallGraph(ctx context.Context, in *GetFunctionCallGraphReq, opts ...grpc.CallOption) (*GetFunctionCallGraphReply, error)
// InstrumentProject 对项目进行插桩
InstrumentProject(ctx context.Context, in *InstrumentProjectReq, opts ...grpc.CallOption) (*InstrumentProjectReply, error)
// GetUnfinishedFunctions 获取未完成的函数列表
GetUnfinishedFunctions(ctx context.Context, in *GetUnfinishedFunctionsReq, opts ...grpc.CallOption) (*GetUnfinishedFunctionsReply, error)
}
AnalysisClient is the client API for Analysis service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
The greeting service definition.
func NewAnalysisClient ¶
func NewAnalysisClient(cc grpc.ClientConnInterface) AnalysisClient
type AnalysisReply ¶
type AnalysisReply struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
The response message containing the greetings
func (*AnalysisReply) Descriptor
deprecated
func (*AnalysisReply) Descriptor() ([]byte, []int)
Deprecated: Use AnalysisReply.ProtoReflect.Descriptor instead.
func (*AnalysisReply) GetMessage ¶
func (x *AnalysisReply) GetMessage() string
func (*AnalysisReply) ProtoMessage ¶
func (*AnalysisReply) ProtoMessage()
func (*AnalysisReply) ProtoReflect ¶
func (x *AnalysisReply) ProtoReflect() protoreflect.Message
func (*AnalysisReply) Reset ¶
func (x *AnalysisReply) Reset()
func (*AnalysisReply) String ¶
func (x *AnalysisReply) String() string
type AnalysisRequest ¶
type AnalysisRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Dbpath string `protobuf:"bytes,2,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
// contains filtered or unexported fields
}
The request message containing the user's name.
func (*AnalysisRequest) Descriptor
deprecated
func (*AnalysisRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnalysisRequest.ProtoReflect.Descriptor instead.
func (*AnalysisRequest) GetDbpath ¶ added in v1.1.0
func (x *AnalysisRequest) GetDbpath() string
func (*AnalysisRequest) GetName ¶
func (x *AnalysisRequest) GetName() string
func (*AnalysisRequest) ProtoMessage ¶
func (*AnalysisRequest) ProtoMessage()
func (*AnalysisRequest) ProtoReflect ¶
func (x *AnalysisRequest) ProtoReflect() protoreflect.Message
func (*AnalysisRequest) Reset ¶
func (x *AnalysisRequest) Reset()
func (*AnalysisRequest) String ¶
func (x *AnalysisRequest) String() string
type AnalysisServer ¶
type AnalysisServer interface {
// Sends a greeting
GetAnalysis(context.Context, *AnalysisRequest) (*AnalysisReply, error)
GetAnalysisByGID(context.Context, *AnalysisByGIDRequest) (*AnalysisByGIDReply, error)
GetAllGIDs(context.Context, *GetAllGIDsReq) (*GetAllGIDsReply, error)
GetParamsByID(context.Context, *GetParamsByIDReq) (*GetParamsByIDReply, error)
GetAllFunctionName(context.Context, *GetAllFunctionNameReq) (*GetAllFunctionNameReply, error)
GetGidsByFunctionName(context.Context, *GetGidsByFunctionNameReq) (*GetGidsByFunctionNameReply, error)
// 将VerifyProjectPath重定向到CheckDatabase
VerifyProjectPath(context.Context, *VerifyProjectPathReq) (*VerifyProjectPathReply, error)
GetTraceGraph(context.Context, *GetTraceGraphReq) (*GetTraceGraphReply, error)
// GetTracesByParentFunc 根据父函数ID获取函数调用
GetTracesByParentFunc(context.Context, *GetTracesByParentFuncReq) (*GetTracesByParentFuncReply, error)
// GetAllParentIds 获取所有的父函数ID
GetAllParentIds(context.Context, *GetAllParentIdsReq) (*GetAllParentIdsReply, error)
// GetChildFunctions 获取函数的子函数
GetChildFunctions(context.Context, *GetChildFunctionsReq) (*GetChildFunctionsReply, error)
// GetHotFunctions 获取热点函数分析数据
GetHotFunctions(context.Context, *GetHotFunctionsReq) (*GetHotFunctionsReply, error)
// GetGoroutineStats 获取Goroutine统计信息
GetGoroutineStats(context.Context, *GetGoroutineStatsReq) (*GetGoroutineStatsReply, error)
// GetFunctionAnalysis 获取函数调用关系分析
GetFunctionAnalysis(context.Context, *GetFunctionAnalysisReq) (*GetFunctionAnalysisReply, error)
// GetFunctionCallGraph 获取函数调用关系图
GetFunctionCallGraph(context.Context, *GetFunctionCallGraphReq) (*GetFunctionCallGraphReply, error)
// InstrumentProject 对项目进行插桩
InstrumentProject(context.Context, *InstrumentProjectReq) (*InstrumentProjectReply, error)
// GetUnfinishedFunctions 获取未完成的函数列表
GetUnfinishedFunctions(context.Context, *GetUnfinishedFunctionsReq) (*GetUnfinishedFunctionsReply, error)
// contains filtered or unexported methods
}
AnalysisServer is the server API for Analysis service. All implementations must embed UnimplementedAnalysisServer for forward compatibility.
The greeting service definition.
type AnalyzeDbFileRequest ¶ added in v1.1.0
type AnalyzeDbFileRequest struct {
DbPath string `protobuf:"bytes,1,opt,name=db_path,json=dbPath,proto3" json:"db_path,omitempty"`
// contains filtered or unexported fields
}
分析数据库文件请求
func (*AnalyzeDbFileRequest) Descriptor
deprecated
added in
v1.1.0
func (*AnalyzeDbFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDbFileRequest.ProtoReflect.Descriptor instead.
func (*AnalyzeDbFileRequest) GetDbPath ¶ added in v1.1.0
func (x *AnalyzeDbFileRequest) GetDbPath() string
func (*AnalyzeDbFileRequest) ProtoMessage ¶ added in v1.1.0
func (*AnalyzeDbFileRequest) ProtoMessage()
func (*AnalyzeDbFileRequest) ProtoReflect ¶ added in v1.1.0
func (x *AnalyzeDbFileRequest) ProtoReflect() protoreflect.Message
func (*AnalyzeDbFileRequest) Reset ¶ added in v1.1.0
func (x *AnalyzeDbFileRequest) Reset()
func (*AnalyzeDbFileRequest) String ¶ added in v1.1.0
func (x *AnalyzeDbFileRequest) String() string
type AnalyzeDbFileResponse ¶ added in v1.1.0
type AnalyzeDbFileResponse struct {
TotalFunctions int32 `protobuf:"varint,1,opt,name=total_functions,json=totalFunctions,proto3" json:"total_functions,omitempty"`
TotalCalls int32 `protobuf:"varint,2,opt,name=total_calls,json=totalCalls,proto3" json:"total_calls,omitempty"`
TotalPackages int32 `protobuf:"varint,3,opt,name=total_packages,json=totalPackages,proto3" json:"total_packages,omitempty"`
PackageDependencies []*PackageDependency `protobuf:"bytes,4,rep,name=package_dependencies,json=packageDependencies,proto3" json:"package_dependencies,omitempty"`
HotFunctions []*HotFunction `protobuf:"bytes,5,rep,name=hot_functions,json=hotFunctions,proto3" json:"hot_functions,omitempty"`
// contains filtered or unexported fields
}
分析数据库文件响应
func (*AnalyzeDbFileResponse) Descriptor
deprecated
added in
v1.1.0
func (*AnalyzeDbFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDbFileResponse.ProtoReflect.Descriptor instead.
func (*AnalyzeDbFileResponse) GetHotFunctions ¶ added in v1.1.0
func (x *AnalyzeDbFileResponse) GetHotFunctions() []*HotFunction
func (*AnalyzeDbFileResponse) GetPackageDependencies ¶ added in v1.1.0
func (x *AnalyzeDbFileResponse) GetPackageDependencies() []*PackageDependency
func (*AnalyzeDbFileResponse) GetTotalCalls ¶ added in v1.1.0
func (x *AnalyzeDbFileResponse) GetTotalCalls() int32
func (*AnalyzeDbFileResponse) GetTotalFunctions ¶ added in v1.1.0
func (x *AnalyzeDbFileResponse) GetTotalFunctions() int32
func (*AnalyzeDbFileResponse) GetTotalPackages ¶ added in v1.1.0
func (x *AnalyzeDbFileResponse) GetTotalPackages() int32
func (*AnalyzeDbFileResponse) ProtoMessage ¶ added in v1.1.0
func (*AnalyzeDbFileResponse) ProtoMessage()
func (*AnalyzeDbFileResponse) ProtoReflect ¶ added in v1.1.0
func (x *AnalyzeDbFileResponse) ProtoReflect() protoreflect.Message
func (*AnalyzeDbFileResponse) Reset ¶ added in v1.1.0
func (x *AnalyzeDbFileResponse) Reset()
func (*AnalyzeDbFileResponse) String ¶ added in v1.1.0
func (x *AnalyzeDbFileResponse) String() string
type AnalyzeProjectPathRequest ¶ added in v1.1.0
type AnalyzeProjectPathRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
分析项目路径请求
func (*AnalyzeProjectPathRequest) Descriptor
deprecated
added in
v1.1.0
func (*AnalyzeProjectPathRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeProjectPathRequest.ProtoReflect.Descriptor instead.
func (*AnalyzeProjectPathRequest) GetPath ¶ added in v1.1.0
func (x *AnalyzeProjectPathRequest) GetPath() string
func (*AnalyzeProjectPathRequest) ProtoMessage ¶ added in v1.1.0
func (*AnalyzeProjectPathRequest) ProtoMessage()
func (*AnalyzeProjectPathRequest) ProtoReflect ¶ added in v1.1.0
func (x *AnalyzeProjectPathRequest) ProtoReflect() protoreflect.Message
func (*AnalyzeProjectPathRequest) Reset ¶ added in v1.1.0
func (x *AnalyzeProjectPathRequest) Reset()
func (*AnalyzeProjectPathRequest) String ¶ added in v1.1.0
func (x *AnalyzeProjectPathRequest) String() string
type AnalyzeProjectPathResponse ¶ added in v1.1.0
type AnalyzeProjectPathResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
DbPath string `protobuf:"bytes,3,opt,name=db_path,json=dbPath,proto3" json:"db_path,omitempty"`
// contains filtered or unexported fields
}
分析项目路径响应
func (*AnalyzeProjectPathResponse) Descriptor
deprecated
added in
v1.1.0
func (*AnalyzeProjectPathResponse) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeProjectPathResponse.ProtoReflect.Descriptor instead.
func (*AnalyzeProjectPathResponse) GetDbPath ¶ added in v1.1.0
func (x *AnalyzeProjectPathResponse) GetDbPath() string
func (*AnalyzeProjectPathResponse) GetMessage ¶ added in v1.1.0
func (x *AnalyzeProjectPathResponse) GetMessage() string
func (*AnalyzeProjectPathResponse) GetSuccess ¶ added in v1.1.0
func (x *AnalyzeProjectPathResponse) GetSuccess() bool
func (*AnalyzeProjectPathResponse) ProtoMessage ¶ added in v1.1.0
func (*AnalyzeProjectPathResponse) ProtoMessage()
func (*AnalyzeProjectPathResponse) ProtoReflect ¶ added in v1.1.0
func (x *AnalyzeProjectPathResponse) ProtoReflect() protoreflect.Message
func (*AnalyzeProjectPathResponse) Reset ¶ added in v1.1.0
func (x *AnalyzeProjectPathResponse) Reset()
func (*AnalyzeProjectPathResponse) String ¶ added in v1.1.0
func (x *AnalyzeProjectPathResponse) String() string
type DbFileInfo ¶ added in v1.1.0
type DbFileInfo struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
CreateTime string `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// contains filtered or unexported fields
}
静态分析数据库文件信息
func (*DbFileInfo) Descriptor
deprecated
added in
v1.1.0
func (*DbFileInfo) Descriptor() ([]byte, []int)
Deprecated: Use DbFileInfo.ProtoReflect.Descriptor instead.
func (*DbFileInfo) GetCreateTime ¶ added in v1.1.0
func (x *DbFileInfo) GetCreateTime() string
func (*DbFileInfo) GetName ¶ added in v1.1.0
func (x *DbFileInfo) GetName() string
func (*DbFileInfo) GetPath ¶ added in v1.1.0
func (x *DbFileInfo) GetPath() string
func (*DbFileInfo) GetSize ¶ added in v1.1.0
func (x *DbFileInfo) GetSize() int64
func (*DbFileInfo) ProtoMessage ¶ added in v1.1.0
func (*DbFileInfo) ProtoMessage()
func (*DbFileInfo) ProtoReflect ¶ added in v1.1.0
func (x *DbFileInfo) ProtoReflect() protoreflect.Message
func (*DbFileInfo) Reset ¶ added in v1.1.0
func (x *DbFileInfo) Reset()
func (*DbFileInfo) String ¶ added in v1.1.0
func (x *DbFileInfo) String() string
type ErrorReason ¶
type ErrorReason int32
const ( ErrorReason_GREETER_UNSPECIFIED ErrorReason = 0 ErrorReason_USER_NOT_FOUND ErrorReason = 1 )
func (ErrorReason) Descriptor ¶
func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
func (ErrorReason) Enum ¶
func (x ErrorReason) Enum() *ErrorReason
func (ErrorReason) EnumDescriptor
deprecated
func (ErrorReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ErrorReason.Descriptor instead.
func (ErrorReason) Number ¶
func (x ErrorReason) Number() protoreflect.EnumNumber
func (ErrorReason) String ¶
func (x ErrorReason) String() string
func (ErrorReason) Type ¶
func (ErrorReason) Type() protoreflect.EnumType
type GenerateImageReply ¶
type GenerateImageReply struct {
Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
// contains filtered or unexported fields
}
func (*GenerateImageReply) Descriptor
deprecated
func (*GenerateImageReply) Descriptor() ([]byte, []int)
Deprecated: Use GenerateImageReply.ProtoReflect.Descriptor instead.
func (*GenerateImageReply) GetImage ¶
func (x *GenerateImageReply) GetImage() string
func (*GenerateImageReply) ProtoMessage ¶
func (*GenerateImageReply) ProtoMessage()
func (*GenerateImageReply) ProtoReflect ¶
func (x *GenerateImageReply) ProtoReflect() protoreflect.Message
func (*GenerateImageReply) Reset ¶
func (x *GenerateImageReply) Reset()
func (*GenerateImageReply) String ¶
func (x *GenerateImageReply) String() string
type GenerateImageReq ¶
type GenerateImageReq struct {
Gid string `protobuf:"bytes,1,opt,name=gid,proto3" json:"gid,omitempty"`
Dbpath string `protobuf:"bytes,2,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
// contains filtered or unexported fields
}
func (*GenerateImageReq) Descriptor
deprecated
func (*GenerateImageReq) Descriptor() ([]byte, []int)
Deprecated: Use GenerateImageReq.ProtoReflect.Descriptor instead.
func (*GenerateImageReq) GetDbpath ¶ added in v1.1.0
func (x *GenerateImageReq) GetDbpath() string
func (*GenerateImageReq) GetGid ¶
func (x *GenerateImageReq) GetGid() string
func (*GenerateImageReq) ProtoMessage ¶
func (*GenerateImageReq) ProtoMessage()
func (*GenerateImageReq) ProtoReflect ¶
func (x *GenerateImageReq) ProtoReflect() protoreflect.Message
func (*GenerateImageReq) Reset ¶
func (x *GenerateImageReq) Reset()
func (*GenerateImageReq) String ¶
func (x *GenerateImageReq) String() string
type GetAllFunctionNameReply ¶
type GetAllFunctionNameReply struct {
FunctionNames []string `protobuf:"bytes,1,rep,name=functionNames,proto3" json:"functionNames,omitempty"`
// contains filtered or unexported fields
}
func (*GetAllFunctionNameReply) Descriptor
deprecated
func (*GetAllFunctionNameReply) Descriptor() ([]byte, []int)
Deprecated: Use GetAllFunctionNameReply.ProtoReflect.Descriptor instead.
func (*GetAllFunctionNameReply) GetFunctionNames ¶
func (x *GetAllFunctionNameReply) GetFunctionNames() []string
func (*GetAllFunctionNameReply) ProtoMessage ¶
func (*GetAllFunctionNameReply) ProtoMessage()
func (*GetAllFunctionNameReply) ProtoReflect ¶
func (x *GetAllFunctionNameReply) ProtoReflect() protoreflect.Message
func (*GetAllFunctionNameReply) Reset ¶
func (x *GetAllFunctionNameReply) Reset()
func (*GetAllFunctionNameReply) String ¶
func (x *GetAllFunctionNameReply) String() string
type GetAllFunctionNameReq ¶
type GetAllFunctionNameReq struct {
Dbpath string `protobuf:"bytes,1,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
// contains filtered or unexported fields
}
func (*GetAllFunctionNameReq) Descriptor
deprecated
func (*GetAllFunctionNameReq) Descriptor() ([]byte, []int)
Deprecated: Use GetAllFunctionNameReq.ProtoReflect.Descriptor instead.
func (*GetAllFunctionNameReq) GetDbpath ¶ added in v1.1.0
func (x *GetAllFunctionNameReq) GetDbpath() string
func (*GetAllFunctionNameReq) ProtoMessage ¶
func (*GetAllFunctionNameReq) ProtoMessage()
func (*GetAllFunctionNameReq) ProtoReflect ¶
func (x *GetAllFunctionNameReq) ProtoReflect() protoreflect.Message
func (*GetAllFunctionNameReq) Reset ¶
func (x *GetAllFunctionNameReq) Reset()
func (*GetAllFunctionNameReq) String ¶
func (x *GetAllFunctionNameReq) String() string
type GetAllGIDsReply ¶
type GetAllGIDsReply struct {
Body []*GetAllGIDsReply_Body `protobuf:"bytes,1,rep,name=body,proto3" json:"body,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // 总的 GID 数量
// contains filtered or unexported fields
}
func (*GetAllGIDsReply) Descriptor
deprecated
func (*GetAllGIDsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetAllGIDsReply.ProtoReflect.Descriptor instead.
func (*GetAllGIDsReply) GetBody ¶ added in v1.0.1
func (x *GetAllGIDsReply) GetBody() []*GetAllGIDsReply_Body
func (*GetAllGIDsReply) GetTotal ¶ added in v1.0.1
func (x *GetAllGIDsReply) GetTotal() int32
func (*GetAllGIDsReply) ProtoMessage ¶
func (*GetAllGIDsReply) ProtoMessage()
func (*GetAllGIDsReply) ProtoReflect ¶
func (x *GetAllGIDsReply) ProtoReflect() protoreflect.Message
func (*GetAllGIDsReply) Reset ¶
func (x *GetAllGIDsReply) Reset()
func (*GetAllGIDsReply) String ¶
func (x *GetAllGIDsReply) String() string
type GetAllGIDsReply_Body ¶ added in v1.0.1
type GetAllGIDsReply_Body struct {
Gid uint64 `protobuf:"varint,1,opt,name=gid,proto3" json:"gid,omitempty"`
InitialFunc string `protobuf:"bytes,2,opt,name=initialFunc,proto3" json:"initialFunc,omitempty"`
Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"` // 调用深度
ExecutionTime string `protobuf:"bytes,4,opt,name=executionTime,proto3" json:"executionTime,omitempty"` // 执行时间
IsFinished bool `protobuf:"varint,5,opt,name=isFinished,proto3" json:"isFinished,omitempty"` // 是否完成
// contains filtered or unexported fields
}
func (*GetAllGIDsReply_Body) Descriptor
deprecated
added in
v1.0.1
func (*GetAllGIDsReply_Body) Descriptor() ([]byte, []int)
Deprecated: Use GetAllGIDsReply_Body.ProtoReflect.Descriptor instead.
func (*GetAllGIDsReply_Body) GetDepth ¶ added in v1.1.0
func (x *GetAllGIDsReply_Body) GetDepth() int32
func (*GetAllGIDsReply_Body) GetExecutionTime ¶ added in v1.1.0
func (x *GetAllGIDsReply_Body) GetExecutionTime() string
func (*GetAllGIDsReply_Body) GetGid ¶ added in v1.0.1
func (x *GetAllGIDsReply_Body) GetGid() uint64
func (*GetAllGIDsReply_Body) GetInitialFunc ¶ added in v1.0.1
func (x *GetAllGIDsReply_Body) GetInitialFunc() string
func (*GetAllGIDsReply_Body) GetIsFinished ¶ added in v1.1.1
func (x *GetAllGIDsReply_Body) GetIsFinished() bool
func (*GetAllGIDsReply_Body) ProtoMessage ¶ added in v1.0.1
func (*GetAllGIDsReply_Body) ProtoMessage()
func (*GetAllGIDsReply_Body) ProtoReflect ¶ added in v1.0.1
func (x *GetAllGIDsReply_Body) ProtoReflect() protoreflect.Message
func (*GetAllGIDsReply_Body) Reset ¶ added in v1.0.1
func (x *GetAllGIDsReply_Body) Reset()
func (*GetAllGIDsReply_Body) String ¶ added in v1.0.1
func (x *GetAllGIDsReply_Body) String() string
type GetAllGIDsReq ¶
type GetAllGIDsReq struct {
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 当前页
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // 每页条目数
IncludeMetrics bool `protobuf:"varint,3,opt,name=includeMetrics,proto3" json:"includeMetrics,omitempty"` // 是否包含调用深度和执行时间等指标
Dbpath string `protobuf:"bytes,4,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
// contains filtered or unexported fields
}
func (*GetAllGIDsReq) Descriptor
deprecated
func (*GetAllGIDsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetAllGIDsReq.ProtoReflect.Descriptor instead.
func (*GetAllGIDsReq) GetDbpath ¶ added in v1.1.0
func (x *GetAllGIDsReq) GetDbpath() string
func (*GetAllGIDsReq) GetIncludeMetrics ¶ added in v1.1.0
func (x *GetAllGIDsReq) GetIncludeMetrics() bool
func (*GetAllGIDsReq) GetLimit ¶ added in v1.0.1
func (x *GetAllGIDsReq) GetLimit() int32
func (*GetAllGIDsReq) GetPage ¶ added in v1.0.1
func (x *GetAllGIDsReq) GetPage() int32
func (*GetAllGIDsReq) ProtoMessage ¶
func (*GetAllGIDsReq) ProtoMessage()
func (*GetAllGIDsReq) ProtoReflect ¶
func (x *GetAllGIDsReq) ProtoReflect() protoreflect.Message
func (*GetAllGIDsReq) Reset ¶
func (x *GetAllGIDsReq) Reset()
func (*GetAllGIDsReq) String ¶
func (x *GetAllGIDsReq) String() string
type GetAllParentIdsReply ¶ added in v1.1.1
type GetAllParentIdsReply struct {
ParentIds []int64 `protobuf:"varint,1,rep,packed,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"`
// contains filtered or unexported fields
}
GetAllParentIdsReply 获取所有的父函数ID的响应
func (*GetAllParentIdsReply) Descriptor
deprecated
added in
v1.1.1
func (*GetAllParentIdsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetAllParentIdsReply.ProtoReflect.Descriptor instead.
func (*GetAllParentIdsReply) GetParentIds ¶ added in v1.1.1
func (x *GetAllParentIdsReply) GetParentIds() []int64
func (*GetAllParentIdsReply) ProtoMessage ¶ added in v1.1.1
func (*GetAllParentIdsReply) ProtoMessage()
func (*GetAllParentIdsReply) ProtoReflect ¶ added in v1.1.1
func (x *GetAllParentIdsReply) ProtoReflect() protoreflect.Message
func (*GetAllParentIdsReply) Reset ¶ added in v1.1.1
func (x *GetAllParentIdsReply) Reset()
func (*GetAllParentIdsReply) String ¶ added in v1.1.1
func (x *GetAllParentIdsReply) String() string
type GetAllParentIdsReq ¶ added in v1.1.1
type GetAllParentIdsReq struct {
Dbpath string `protobuf:"bytes,1,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
// contains filtered or unexported fields
}
GetAllParentIdsReq 获取所有的父函数ID的请求
func (*GetAllParentIdsReq) Descriptor
deprecated
added in
v1.1.1
func (*GetAllParentIdsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetAllParentIdsReq.ProtoReflect.Descriptor instead.
func (*GetAllParentIdsReq) GetDbpath ¶ added in v1.1.1
func (x *GetAllParentIdsReq) GetDbpath() string
func (*GetAllParentIdsReq) ProtoMessage ¶ added in v1.1.1
func (*GetAllParentIdsReq) ProtoMessage()
func (*GetAllParentIdsReq) ProtoReflect ¶ added in v1.1.1
func (x *GetAllParentIdsReq) ProtoReflect() protoreflect.Message
func (*GetAllParentIdsReq) Reset ¶ added in v1.1.1
func (x *GetAllParentIdsReq) Reset()
func (*GetAllParentIdsReq) String ¶ added in v1.1.1
func (x *GetAllParentIdsReq) String() string
type GetChildFunctionsReply ¶ added in v1.1.0
type GetChildFunctionsReply struct {
ChildFunctions []string `protobuf:"bytes,1,rep,name=child_functions,json=childFunctions,proto3" json:"child_functions,omitempty"`
// contains filtered or unexported fields
}
GetChildFunctionsReply 获取函数的子函数的响应
func (*GetChildFunctionsReply) Descriptor
deprecated
added in
v1.1.0
func (*GetChildFunctionsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetChildFunctionsReply.ProtoReflect.Descriptor instead.
func (*GetChildFunctionsReply) GetChildFunctions ¶ added in v1.1.0
func (x *GetChildFunctionsReply) GetChildFunctions() []string
func (*GetChildFunctionsReply) ProtoMessage ¶ added in v1.1.0
func (*GetChildFunctionsReply) ProtoMessage()
func (*GetChildFunctionsReply) ProtoReflect ¶ added in v1.1.0
func (x *GetChildFunctionsReply) ProtoReflect() protoreflect.Message
func (*GetChildFunctionsReply) Reset ¶ added in v1.1.0
func (x *GetChildFunctionsReply) Reset()
func (*GetChildFunctionsReply) String ¶ added in v1.1.0
func (x *GetChildFunctionsReply) String() string
type GetChildFunctionsReq ¶ added in v1.1.0
type GetChildFunctionsReq struct {
ParentId int64 `protobuf:"varint,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
Dbpath string `protobuf:"bytes,2,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
// contains filtered or unexported fields
}
GetChildFunctionsReq 获取函数的子函数的请求
func (*GetChildFunctionsReq) Descriptor
deprecated
added in
v1.1.0
func (*GetChildFunctionsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetChildFunctionsReq.ProtoReflect.Descriptor instead.
func (*GetChildFunctionsReq) GetDbpath ¶ added in v1.1.0
func (x *GetChildFunctionsReq) GetDbpath() string
func (*GetChildFunctionsReq) GetParentId ¶ added in v1.1.1
func (x *GetChildFunctionsReq) GetParentId() int64
func (*GetChildFunctionsReq) ProtoMessage ¶ added in v1.1.0
func (*GetChildFunctionsReq) ProtoMessage()
func (*GetChildFunctionsReq) ProtoReflect ¶ added in v1.1.0
func (x *GetChildFunctionsReq) ProtoReflect() protoreflect.Message
func (*GetChildFunctionsReq) Reset ¶ added in v1.1.0
func (x *GetChildFunctionsReq) Reset()
func (*GetChildFunctionsReq) String ¶ added in v1.1.0
func (x *GetChildFunctionsReq) String() string
type GetFunctionAnalysisReply ¶ added in v1.1.0
type GetFunctionAnalysisReply struct {
CallData []*GetFunctionAnalysisReply_FunctionNode `protobuf:"bytes,1,rep,name=callData,proto3" json:"callData,omitempty"` // 调用关系数据
// contains filtered or unexported fields
}
GetFunctionAnalysisReply 获取函数调用关系分析的响应
func (*GetFunctionAnalysisReply) Descriptor
deprecated
added in
v1.1.0
func (*GetFunctionAnalysisReply) Descriptor() ([]byte, []int)
Deprecated: Use GetFunctionAnalysisReply.ProtoReflect.Descriptor instead.
func (*GetFunctionAnalysisReply) GetCallData ¶ added in v1.1.0
func (x *GetFunctionAnalysisReply) GetCallData() []*GetFunctionAnalysisReply_FunctionNode
func (*GetFunctionAnalysisReply) ProtoMessage ¶ added in v1.1.0
func (*GetFunctionAnalysisReply) ProtoMessage()
func (*GetFunctionAnalysisReply) ProtoReflect ¶ added in v1.1.0
func (x *GetFunctionAnalysisReply) ProtoReflect() protoreflect.Message
func (*GetFunctionAnalysisReply) Reset ¶ added in v1.1.0
func (x *GetFunctionAnalysisReply) Reset()
func (*GetFunctionAnalysisReply) String ¶ added in v1.1.0
func (x *GetFunctionAnalysisReply) String() string
type GetFunctionAnalysisReply_FunctionNode ¶ added in v1.1.0
type GetFunctionAnalysisReply_FunctionNode struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 节点ID
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 函数名称
Package string `protobuf:"bytes,3,opt,name=package,proto3" json:"package,omitempty"` // 包名
CallCount int32 `protobuf:"varint,4,opt,name=call_count,json=callCount,proto3" json:"call_count,omitempty"` // 调用次数
AvgTime string `protobuf:"bytes,5,opt,name=avg_time,json=avgTime,proto3" json:"avg_time,omitempty"` // 平均耗时
Children []*GetFunctionAnalysisReply_FunctionNode `protobuf:"bytes,6,rep,name=children,proto3" json:"children,omitempty"` // 子节点
// contains filtered or unexported fields
}
func (*GetFunctionAnalysisReply_FunctionNode) Descriptor
deprecated
added in
v1.1.0
func (*GetFunctionAnalysisReply_FunctionNode) Descriptor() ([]byte, []int)
Deprecated: Use GetFunctionAnalysisReply_FunctionNode.ProtoReflect.Descriptor instead.
func (*GetFunctionAnalysisReply_FunctionNode) GetAvgTime ¶ added in v1.1.0
func (x *GetFunctionAnalysisReply_FunctionNode) GetAvgTime() string
func (*GetFunctionAnalysisReply_FunctionNode) GetCallCount ¶ added in v1.1.0
func (x *GetFunctionAnalysisReply_FunctionNode) GetCallCount() int32
func (*GetFunctionAnalysisReply_FunctionNode) GetChildren ¶ added in v1.1.0
func (x *GetFunctionAnalysisReply_FunctionNode) GetChildren() []*GetFunctionAnalysisReply_FunctionNode
func (*GetFunctionAnalysisReply_FunctionNode) GetId ¶ added in v1.1.0
func (x *GetFunctionAnalysisReply_FunctionNode) GetId() string
func (*GetFunctionAnalysisReply_FunctionNode) GetName ¶ added in v1.1.0
func (x *GetFunctionAnalysisReply_FunctionNode) GetName() string
func (*GetFunctionAnalysisReply_FunctionNode) GetPackage ¶ added in v1.1.0
func (x *GetFunctionAnalysisReply_FunctionNode) GetPackage() string
func (*GetFunctionAnalysisReply_FunctionNode) ProtoMessage ¶ added in v1.1.0
func (*GetFunctionAnalysisReply_FunctionNode) ProtoMessage()
func (*GetFunctionAnalysisReply_FunctionNode) ProtoReflect ¶ added in v1.1.0
func (x *GetFunctionAnalysisReply_FunctionNode) ProtoReflect() protoreflect.Message
func (*GetFunctionAnalysisReply_FunctionNode) Reset ¶ added in v1.1.0
func (x *GetFunctionAnalysisReply_FunctionNode) Reset()
func (*GetFunctionAnalysisReply_FunctionNode) String ¶ added in v1.1.0
func (x *GetFunctionAnalysisReply_FunctionNode) String() string
type GetFunctionAnalysisReq ¶ added in v1.1.0
type GetFunctionAnalysisReq struct {
FunctionName string `protobuf:"bytes,1,opt,name=functionName,proto3" json:"functionName,omitempty"` // 函数名称
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // 查询类型: "caller" 或 "callee"
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // 项目路径
// contains filtered or unexported fields
}
GetFunctionAnalysisReq 获取函数调用关系分析的请求
func (*GetFunctionAnalysisReq) Descriptor
deprecated
added in
v1.1.0
func (*GetFunctionAnalysisReq) Descriptor() ([]byte, []int)
Deprecated: Use GetFunctionAnalysisReq.ProtoReflect.Descriptor instead.
func (*GetFunctionAnalysisReq) GetFunctionName ¶ added in v1.1.0
func (x *GetFunctionAnalysisReq) GetFunctionName() string
func (*GetFunctionAnalysisReq) GetPath ¶ added in v1.1.0
func (x *GetFunctionAnalysisReq) GetPath() string
func (*GetFunctionAnalysisReq) GetType ¶ added in v1.1.0
func (x *GetFunctionAnalysisReq) GetType() string
func (*GetFunctionAnalysisReq) ProtoMessage ¶ added in v1.1.0
func (*GetFunctionAnalysisReq) ProtoMessage()
func (*GetFunctionAnalysisReq) ProtoReflect ¶ added in v1.1.0
func (x *GetFunctionAnalysisReq) ProtoReflect() protoreflect.Message
func (*GetFunctionAnalysisReq) Reset ¶ added in v1.1.0
func (x *GetFunctionAnalysisReq) Reset()
func (*GetFunctionAnalysisReq) String ¶ added in v1.1.0
func (x *GetFunctionAnalysisReq) String() string
type GetFunctionCallGraphReply ¶ added in v1.1.0
type GetFunctionCallGraphReply struct {
Nodes []*GetFunctionCallGraphReply_GraphNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // 图节点
Edges []*GetFunctionCallGraphReply_GraphEdge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"` // 图边
// contains filtered or unexported fields
}
GetFunctionCallGraphReply 获取函数调用关系图的响应
func (*GetFunctionCallGraphReply) Descriptor
deprecated
added in
v1.1.0
func (*GetFunctionCallGraphReply) Descriptor() ([]byte, []int)
Deprecated: Use GetFunctionCallGraphReply.ProtoReflect.Descriptor instead.
func (*GetFunctionCallGraphReply) GetEdges ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply) GetEdges() []*GetFunctionCallGraphReply_GraphEdge
func (*GetFunctionCallGraphReply) GetNodes ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply) GetNodes() []*GetFunctionCallGraphReply_GraphNode
func (*GetFunctionCallGraphReply) ProtoMessage ¶ added in v1.1.0
func (*GetFunctionCallGraphReply) ProtoMessage()
func (*GetFunctionCallGraphReply) ProtoReflect ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply) ProtoReflect() protoreflect.Message
func (*GetFunctionCallGraphReply) Reset ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply) Reset()
func (*GetFunctionCallGraphReply) String ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply) String() string
type GetFunctionCallGraphReply_GraphEdge ¶ added in v1.1.0
type GetFunctionCallGraphReply_GraphEdge struct {
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // 源节点ID
Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` // 目标节点ID
Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` // 边标签
EdgeType string `protobuf:"bytes,4,opt,name=edge_type,json=edgeType,proto3" json:"edge_type,omitempty"` // 边类型: "caller_to_root", "root_to_callee"
// contains filtered or unexported fields
}
func (*GetFunctionCallGraphReply_GraphEdge) Descriptor
deprecated
added in
v1.1.0
func (*GetFunctionCallGraphReply_GraphEdge) Descriptor() ([]byte, []int)
Deprecated: Use GetFunctionCallGraphReply_GraphEdge.ProtoReflect.Descriptor instead.
func (*GetFunctionCallGraphReply_GraphEdge) GetEdgeType ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply_GraphEdge) GetEdgeType() string
func (*GetFunctionCallGraphReply_GraphEdge) GetLabel ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply_GraphEdge) GetLabel() string
func (*GetFunctionCallGraphReply_GraphEdge) GetSource ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply_GraphEdge) GetSource() string
func (*GetFunctionCallGraphReply_GraphEdge) GetTarget ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply_GraphEdge) GetTarget() string
func (*GetFunctionCallGraphReply_GraphEdge) ProtoMessage ¶ added in v1.1.0
func (*GetFunctionCallGraphReply_GraphEdge) ProtoMessage()
func (*GetFunctionCallGraphReply_GraphEdge) ProtoReflect ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply_GraphEdge) ProtoReflect() protoreflect.Message
func (*GetFunctionCallGraphReply_GraphEdge) Reset ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply_GraphEdge) Reset()
func (*GetFunctionCallGraphReply_GraphEdge) String ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply_GraphEdge) String() string
type GetFunctionCallGraphReply_GraphNode ¶ added in v1.1.0
type GetFunctionCallGraphReply_GraphNode struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 节点ID
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 函数名称
Package string `protobuf:"bytes,3,opt,name=package,proto3" json:"package,omitempty"` // 包名
CallCount int32 `protobuf:"varint,4,opt,name=call_count,json=callCount,proto3" json:"call_count,omitempty"` // 调用次数
AvgTime string `protobuf:"bytes,5,opt,name=avg_time,json=avgTime,proto3" json:"avg_time,omitempty"` // 平均耗时
NodeType string `protobuf:"bytes,6,opt,name=node_type,json=nodeType,proto3" json:"node_type,omitempty"` // 节点类型: "root", "caller", "callee"
// contains filtered or unexported fields
}
func (*GetFunctionCallGraphReply_GraphNode) Descriptor
deprecated
added in
v1.1.0
func (*GetFunctionCallGraphReply_GraphNode) Descriptor() ([]byte, []int)
Deprecated: Use GetFunctionCallGraphReply_GraphNode.ProtoReflect.Descriptor instead.
func (*GetFunctionCallGraphReply_GraphNode) GetAvgTime ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply_GraphNode) GetAvgTime() string
func (*GetFunctionCallGraphReply_GraphNode) GetCallCount ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply_GraphNode) GetCallCount() int32
func (*GetFunctionCallGraphReply_GraphNode) GetId ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply_GraphNode) GetId() string
func (*GetFunctionCallGraphReply_GraphNode) GetName ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply_GraphNode) GetName() string
func (*GetFunctionCallGraphReply_GraphNode) GetNodeType ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply_GraphNode) GetNodeType() string
func (*GetFunctionCallGraphReply_GraphNode) GetPackage ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply_GraphNode) GetPackage() string
func (*GetFunctionCallGraphReply_GraphNode) ProtoMessage ¶ added in v1.1.0
func (*GetFunctionCallGraphReply_GraphNode) ProtoMessage()
func (*GetFunctionCallGraphReply_GraphNode) ProtoReflect ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply_GraphNode) ProtoReflect() protoreflect.Message
func (*GetFunctionCallGraphReply_GraphNode) Reset ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply_GraphNode) Reset()
func (*GetFunctionCallGraphReply_GraphNode) String ¶ added in v1.1.0
func (x *GetFunctionCallGraphReply_GraphNode) String() string
type GetFunctionCallGraphReq ¶ added in v1.1.0
type GetFunctionCallGraphReq struct {
FunctionName string `protobuf:"bytes,1,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"` // 函数名称
Depth int32 `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"` // 调用深度,默认为2
Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"` // 方向: "caller"(调用者), "callee"(被调用), "both"(双向)
Dbpath string `protobuf:"bytes,4,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
// contains filtered or unexported fields
}
GetFunctionCallGraphReq 获取函数调用关系图的请求
func (*GetFunctionCallGraphReq) Descriptor
deprecated
added in
v1.1.0
func (*GetFunctionCallGraphReq) Descriptor() ([]byte, []int)
Deprecated: Use GetFunctionCallGraphReq.ProtoReflect.Descriptor instead.
func (*GetFunctionCallGraphReq) GetDbpath ¶ added in v1.1.0
func (x *GetFunctionCallGraphReq) GetDbpath() string
func (*GetFunctionCallGraphReq) GetDepth ¶ added in v1.1.0
func (x *GetFunctionCallGraphReq) GetDepth() int32
func (*GetFunctionCallGraphReq) GetDirection ¶ added in v1.1.0
func (x *GetFunctionCallGraphReq) GetDirection() string
func (*GetFunctionCallGraphReq) GetFunctionName ¶ added in v1.1.0
func (x *GetFunctionCallGraphReq) GetFunctionName() string
func (*GetFunctionCallGraphReq) ProtoMessage ¶ added in v1.1.0
func (*GetFunctionCallGraphReq) ProtoMessage()
func (*GetFunctionCallGraphReq) ProtoReflect ¶ added in v1.1.0
func (x *GetFunctionCallGraphReq) ProtoReflect() protoreflect.Message
func (*GetFunctionCallGraphReq) Reset ¶ added in v1.1.0
func (x *GetFunctionCallGraphReq) Reset()
func (*GetFunctionCallGraphReq) String ¶ added in v1.1.0
func (x *GetFunctionCallGraphReq) String() string
type GetGidsByFunctionNameReply ¶
type GetGidsByFunctionNameReply struct {
Body []*GetGidsByFunctionNameReply_Body `protobuf:"bytes,1,rep,name=body,proto3" json:"body,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // 总的 GID 数量
// contains filtered or unexported fields
}
func (*GetGidsByFunctionNameReply) Descriptor
deprecated
func (*GetGidsByFunctionNameReply) Descriptor() ([]byte, []int)
Deprecated: Use GetGidsByFunctionNameReply.ProtoReflect.Descriptor instead.
func (*GetGidsByFunctionNameReply) GetBody ¶ added in v1.1.0
func (x *GetGidsByFunctionNameReply) GetBody() []*GetGidsByFunctionNameReply_Body
func (*GetGidsByFunctionNameReply) GetTotal ¶ added in v1.1.0
func (x *GetGidsByFunctionNameReply) GetTotal() int32
func (*GetGidsByFunctionNameReply) ProtoMessage ¶
func (*GetGidsByFunctionNameReply) ProtoMessage()
func (*GetGidsByFunctionNameReply) ProtoReflect ¶
func (x *GetGidsByFunctionNameReply) ProtoReflect() protoreflect.Message
func (*GetGidsByFunctionNameReply) Reset ¶
func (x *GetGidsByFunctionNameReply) Reset()
func (*GetGidsByFunctionNameReply) String ¶
func (x *GetGidsByFunctionNameReply) String() string
type GetGidsByFunctionNameReply_Body ¶ added in v1.1.0
type GetGidsByFunctionNameReply_Body struct {
Gid uint64 `protobuf:"varint,1,opt,name=gid,proto3" json:"gid,omitempty"`
InitialFunc string `protobuf:"bytes,2,opt,name=initialFunc,proto3" json:"initialFunc,omitempty"`
Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"` // 调用深度
ExecutionTime string `protobuf:"bytes,4,opt,name=executionTime,proto3" json:"executionTime,omitempty"` // 执行时间
IsFinished bool `protobuf:"varint,5,opt,name=isFinished,proto3" json:"isFinished,omitempty"` // 是否完成
// contains filtered or unexported fields
}
func (*GetGidsByFunctionNameReply_Body) Descriptor
deprecated
added in
v1.1.0
func (*GetGidsByFunctionNameReply_Body) Descriptor() ([]byte, []int)
Deprecated: Use GetGidsByFunctionNameReply_Body.ProtoReflect.Descriptor instead.
func (*GetGidsByFunctionNameReply_Body) GetDepth ¶ added in v1.1.0
func (x *GetGidsByFunctionNameReply_Body) GetDepth() int32
func (*GetGidsByFunctionNameReply_Body) GetExecutionTime ¶ added in v1.1.0
func (x *GetGidsByFunctionNameReply_Body) GetExecutionTime() string
func (*GetGidsByFunctionNameReply_Body) GetGid ¶ added in v1.1.0
func (x *GetGidsByFunctionNameReply_Body) GetGid() uint64
func (*GetGidsByFunctionNameReply_Body) GetInitialFunc ¶ added in v1.1.0
func (x *GetGidsByFunctionNameReply_Body) GetInitialFunc() string
func (*GetGidsByFunctionNameReply_Body) GetIsFinished ¶ added in v1.1.1
func (x *GetGidsByFunctionNameReply_Body) GetIsFinished() bool
func (*GetGidsByFunctionNameReply_Body) ProtoMessage ¶ added in v1.1.0
func (*GetGidsByFunctionNameReply_Body) ProtoMessage()
func (*GetGidsByFunctionNameReply_Body) ProtoReflect ¶ added in v1.1.0
func (x *GetGidsByFunctionNameReply_Body) ProtoReflect() protoreflect.Message
func (*GetGidsByFunctionNameReply_Body) Reset ¶ added in v1.1.0
func (x *GetGidsByFunctionNameReply_Body) Reset()
func (*GetGidsByFunctionNameReply_Body) String ¶ added in v1.1.0
func (x *GetGidsByFunctionNameReply_Body) String() string
type GetGidsByFunctionNameReq ¶
type GetGidsByFunctionNameReq struct {
FunctionName string `protobuf:"bytes,1,opt,name=functionName,proto3" json:"functionName,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
IncludeMetrics bool `protobuf:"varint,3,opt,name=includeMetrics,proto3" json:"includeMetrics,omitempty"` // 是否包含调用深度和执行时间等指标
// contains filtered or unexported fields
}
func (*GetGidsByFunctionNameReq) Descriptor
deprecated
func (*GetGidsByFunctionNameReq) Descriptor() ([]byte, []int)
Deprecated: Use GetGidsByFunctionNameReq.ProtoReflect.Descriptor instead.
func (*GetGidsByFunctionNameReq) GetFunctionName ¶
func (x *GetGidsByFunctionNameReq) GetFunctionName() string
func (*GetGidsByFunctionNameReq) GetIncludeMetrics ¶ added in v1.1.0
func (x *GetGidsByFunctionNameReq) GetIncludeMetrics() bool
func (*GetGidsByFunctionNameReq) GetPath ¶ added in v1.1.0
func (x *GetGidsByFunctionNameReq) GetPath() string
func (*GetGidsByFunctionNameReq) ProtoMessage ¶
func (*GetGidsByFunctionNameReq) ProtoMessage()
func (*GetGidsByFunctionNameReq) ProtoReflect ¶
func (x *GetGidsByFunctionNameReq) ProtoReflect() protoreflect.Message
func (*GetGidsByFunctionNameReq) Reset ¶
func (x *GetGidsByFunctionNameReq) Reset()
func (*GetGidsByFunctionNameReq) String ¶
func (x *GetGidsByFunctionNameReq) String() string
type GetGoroutineStatsReply ¶ added in v1.1.0
type GetGoroutineStatsReply struct {
Active int32 `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"` // 活跃Goroutine数量
AvgTime string `protobuf:"bytes,2,opt,name=avg_time,json=avgTime,proto3" json:"avg_time,omitempty"` // 平均执行时间
MaxDepth int32 `protobuf:"varint,3,opt,name=max_depth,json=maxDepth,proto3" json:"max_depth,omitempty"` // 最大调用深度
// contains filtered or unexported fields
}
GetGoroutineStatsReply 获取Goroutine统计信息的响应
func (*GetGoroutineStatsReply) Descriptor
deprecated
added in
v1.1.0
func (*GetGoroutineStatsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetGoroutineStatsReply.ProtoReflect.Descriptor instead.
func (*GetGoroutineStatsReply) GetActive ¶ added in v1.1.0
func (x *GetGoroutineStatsReply) GetActive() int32
func (*GetGoroutineStatsReply) GetAvgTime ¶ added in v1.1.0
func (x *GetGoroutineStatsReply) GetAvgTime() string
func (*GetGoroutineStatsReply) GetMaxDepth ¶ added in v1.1.0
func (x *GetGoroutineStatsReply) GetMaxDepth() int32
func (*GetGoroutineStatsReply) ProtoMessage ¶ added in v1.1.0
func (*GetGoroutineStatsReply) ProtoMessage()
func (*GetGoroutineStatsReply) ProtoReflect ¶ added in v1.1.0
func (x *GetGoroutineStatsReply) ProtoReflect() protoreflect.Message
func (*GetGoroutineStatsReply) Reset ¶ added in v1.1.0
func (x *GetGoroutineStatsReply) Reset()
func (*GetGoroutineStatsReply) String ¶ added in v1.1.0
func (x *GetGoroutineStatsReply) String() string
type GetGoroutineStatsReq ¶ added in v1.1.0
type GetGoroutineStatsReq struct {
Dbpath string `protobuf:"bytes,1,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
// contains filtered or unexported fields
}
GetGoroutineStatsReq 获取Goroutine统计信息的请求
func (*GetGoroutineStatsReq) Descriptor
deprecated
added in
v1.1.0
func (*GetGoroutineStatsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetGoroutineStatsReq.ProtoReflect.Descriptor instead.
func (*GetGoroutineStatsReq) GetDbpath ¶ added in v1.1.0
func (x *GetGoroutineStatsReq) GetDbpath() string
func (*GetGoroutineStatsReq) ProtoMessage ¶ added in v1.1.0
func (*GetGoroutineStatsReq) ProtoMessage()
func (*GetGoroutineStatsReq) ProtoReflect ¶ added in v1.1.0
func (x *GetGoroutineStatsReq) ProtoReflect() protoreflect.Message
func (*GetGoroutineStatsReq) Reset ¶ added in v1.1.0
func (x *GetGoroutineStatsReq) Reset()
func (*GetGoroutineStatsReq) String ¶ added in v1.1.0
func (x *GetGoroutineStatsReq) String() string
type GetHotFunctionsReply ¶ added in v1.1.0
type GetHotFunctionsReply struct {
Functions []*GetHotFunctionsReply_HotFunction `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"` // 热点函数列表
// contains filtered or unexported fields
}
GetHotFunctionsReply 获取热点函数的响应
func (*GetHotFunctionsReply) Descriptor
deprecated
added in
v1.1.0
func (*GetHotFunctionsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetHotFunctionsReply.ProtoReflect.Descriptor instead.
func (*GetHotFunctionsReply) GetFunctions ¶ added in v1.1.0
func (x *GetHotFunctionsReply) GetFunctions() []*GetHotFunctionsReply_HotFunction
func (*GetHotFunctionsReply) ProtoMessage ¶ added in v1.1.0
func (*GetHotFunctionsReply) ProtoMessage()
func (*GetHotFunctionsReply) ProtoReflect ¶ added in v1.1.0
func (x *GetHotFunctionsReply) ProtoReflect() protoreflect.Message
func (*GetHotFunctionsReply) Reset ¶ added in v1.1.0
func (x *GetHotFunctionsReply) Reset()
func (*GetHotFunctionsReply) String ¶ added in v1.1.0
func (x *GetHotFunctionsReply) String() string
type GetHotFunctionsReply_HotFunction ¶ added in v1.1.0
type GetHotFunctionsReply_HotFunction struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 函数名称
Package string `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"` // 包名
CallCount int32 `protobuf:"varint,3,opt,name=call_count,json=callCount,proto3" json:"call_count,omitempty"` // 调用次数
TotalTime string `protobuf:"bytes,4,opt,name=total_time,json=totalTime,proto3" json:"total_time,omitempty"` // 总耗时
AvgTime string `protobuf:"bytes,5,opt,name=avg_time,json=avgTime,proto3" json:"avg_time,omitempty"` // 平均耗时
// contains filtered or unexported fields
}
func (*GetHotFunctionsReply_HotFunction) Descriptor
deprecated
added in
v1.1.0
func (*GetHotFunctionsReply_HotFunction) Descriptor() ([]byte, []int)
Deprecated: Use GetHotFunctionsReply_HotFunction.ProtoReflect.Descriptor instead.
func (*GetHotFunctionsReply_HotFunction) GetAvgTime ¶ added in v1.1.0
func (x *GetHotFunctionsReply_HotFunction) GetAvgTime() string
func (*GetHotFunctionsReply_HotFunction) GetCallCount ¶ added in v1.1.0
func (x *GetHotFunctionsReply_HotFunction) GetCallCount() int32
func (*GetHotFunctionsReply_HotFunction) GetName ¶ added in v1.1.0
func (x *GetHotFunctionsReply_HotFunction) GetName() string
func (*GetHotFunctionsReply_HotFunction) GetPackage ¶ added in v1.1.0
func (x *GetHotFunctionsReply_HotFunction) GetPackage() string
func (*GetHotFunctionsReply_HotFunction) GetTotalTime ¶ added in v1.1.0
func (x *GetHotFunctionsReply_HotFunction) GetTotalTime() string
func (*GetHotFunctionsReply_HotFunction) ProtoMessage ¶ added in v1.1.0
func (*GetHotFunctionsReply_HotFunction) ProtoMessage()
func (*GetHotFunctionsReply_HotFunction) ProtoReflect ¶ added in v1.1.0
func (x *GetHotFunctionsReply_HotFunction) ProtoReflect() protoreflect.Message
func (*GetHotFunctionsReply_HotFunction) Reset ¶ added in v1.1.0
func (x *GetHotFunctionsReply_HotFunction) Reset()
func (*GetHotFunctionsReply_HotFunction) String ¶ added in v1.1.0
func (x *GetHotFunctionsReply_HotFunction) String() string
type GetHotFunctionsReq ¶ added in v1.1.0
type GetHotFunctionsReq struct {
SortBy string `protobuf:"bytes,1,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` // 排序方式: "calls" 或 "time"
Dbpath string `protobuf:"bytes,2,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
// contains filtered or unexported fields
}
GetHotFunctionsReq 获取热点函数的请求
func (*GetHotFunctionsReq) Descriptor
deprecated
added in
v1.1.0
func (*GetHotFunctionsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetHotFunctionsReq.ProtoReflect.Descriptor instead.
func (*GetHotFunctionsReq) GetDbpath ¶ added in v1.1.0
func (x *GetHotFunctionsReq) GetDbpath() string
func (*GetHotFunctionsReq) GetSortBy ¶ added in v1.1.0
func (x *GetHotFunctionsReq) GetSortBy() string
func (*GetHotFunctionsReq) ProtoMessage ¶ added in v1.1.0
func (*GetHotFunctionsReq) ProtoMessage()
func (*GetHotFunctionsReq) ProtoReflect ¶ added in v1.1.0
func (x *GetHotFunctionsReq) ProtoReflect() protoreflect.Message
func (*GetHotFunctionsReq) Reset ¶ added in v1.1.0
func (x *GetHotFunctionsReq) Reset()
func (*GetHotFunctionsReq) String ¶ added in v1.1.0
func (x *GetHotFunctionsReq) String() string
type GetParamsByIDReply ¶
type GetParamsByIDReply struct {
Params []*TraceParams `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"`
// contains filtered or unexported fields
}
func (*GetParamsByIDReply) Descriptor
deprecated
func (*GetParamsByIDReply) Descriptor() ([]byte, []int)
Deprecated: Use GetParamsByIDReply.ProtoReflect.Descriptor instead.
func (*GetParamsByIDReply) GetParams ¶
func (x *GetParamsByIDReply) GetParams() []*TraceParams
func (*GetParamsByIDReply) ProtoMessage ¶
func (*GetParamsByIDReply) ProtoMessage()
func (*GetParamsByIDReply) ProtoReflect ¶
func (x *GetParamsByIDReply) ProtoReflect() protoreflect.Message
func (*GetParamsByIDReply) Reset ¶
func (x *GetParamsByIDReply) Reset()
func (*GetParamsByIDReply) String ¶
func (x *GetParamsByIDReply) String() string
type GetParamsByIDReq ¶
type GetParamsByIDReq struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Dbpath string `protobuf:"bytes,2,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
// contains filtered or unexported fields
}
func (*GetParamsByIDReq) Descriptor
deprecated
func (*GetParamsByIDReq) Descriptor() ([]byte, []int)
Deprecated: Use GetParamsByIDReq.ProtoReflect.Descriptor instead.
func (*GetParamsByIDReq) GetDbpath ¶ added in v1.1.0
func (x *GetParamsByIDReq) GetDbpath() string
func (*GetParamsByIDReq) GetId ¶
func (x *GetParamsByIDReq) GetId() int32
func (*GetParamsByIDReq) ProtoMessage ¶
func (*GetParamsByIDReq) ProtoMessage()
func (*GetParamsByIDReq) ProtoReflect ¶
func (x *GetParamsByIDReq) ProtoReflect() protoreflect.Message
func (*GetParamsByIDReq) Reset ¶
func (x *GetParamsByIDReq) Reset()
func (*GetParamsByIDReq) String ¶
func (x *GetParamsByIDReq) String() string
type GetStaticDbFilesRequest ¶ added in v1.1.0
type GetStaticDbFilesRequest struct {
// contains filtered or unexported fields
}
获取静态分析数据库文件列表请求
func (*GetStaticDbFilesRequest) Descriptor
deprecated
added in
v1.1.0
func (*GetStaticDbFilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStaticDbFilesRequest.ProtoReflect.Descriptor instead.
func (*GetStaticDbFilesRequest) ProtoMessage ¶ added in v1.1.0
func (*GetStaticDbFilesRequest) ProtoMessage()
func (*GetStaticDbFilesRequest) ProtoReflect ¶ added in v1.1.0
func (x *GetStaticDbFilesRequest) ProtoReflect() protoreflect.Message
func (*GetStaticDbFilesRequest) Reset ¶ added in v1.1.0
func (x *GetStaticDbFilesRequest) Reset()
func (*GetStaticDbFilesRequest) String ¶ added in v1.1.0
func (x *GetStaticDbFilesRequest) String() string
type GetStaticDbFilesResponse ¶ added in v1.1.0
type GetStaticDbFilesResponse struct {
Files []*DbFileInfo `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
// contains filtered or unexported fields
}
获取静态分析数据库文件列表响应
func (*GetStaticDbFilesResponse) Descriptor
deprecated
added in
v1.1.0
func (*GetStaticDbFilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStaticDbFilesResponse.ProtoReflect.Descriptor instead.
func (*GetStaticDbFilesResponse) GetFiles ¶ added in v1.1.0
func (x *GetStaticDbFilesResponse) GetFiles() []*DbFileInfo
func (*GetStaticDbFilesResponse) ProtoMessage ¶ added in v1.1.0
func (*GetStaticDbFilesResponse) ProtoMessage()
func (*GetStaticDbFilesResponse) ProtoReflect ¶ added in v1.1.0
func (x *GetStaticDbFilesResponse) ProtoReflect() protoreflect.Message
func (*GetStaticDbFilesResponse) Reset ¶ added in v1.1.0
func (x *GetStaticDbFilesResponse) Reset()
func (*GetStaticDbFilesResponse) String ¶ added in v1.1.0
func (x *GetStaticDbFilesResponse) String() string
type GetTraceGraphReply ¶ added in v1.0.1
type GetTraceGraphReply struct {
Nodes []*GraphNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
Edges []*GraphEdge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"`
// contains filtered or unexported fields
}
func (*GetTraceGraphReply) Descriptor
deprecated
added in
v1.0.1
func (*GetTraceGraphReply) Descriptor() ([]byte, []int)
Deprecated: Use GetTraceGraphReply.ProtoReflect.Descriptor instead.
func (*GetTraceGraphReply) GetEdges ¶ added in v1.0.1
func (x *GetTraceGraphReply) GetEdges() []*GraphEdge
func (*GetTraceGraphReply) GetNodes ¶ added in v1.0.1
func (x *GetTraceGraphReply) GetNodes() []*GraphNode
func (*GetTraceGraphReply) ProtoMessage ¶ added in v1.0.1
func (*GetTraceGraphReply) ProtoMessage()
func (*GetTraceGraphReply) ProtoReflect ¶ added in v1.0.1
func (x *GetTraceGraphReply) ProtoReflect() protoreflect.Message
func (*GetTraceGraphReply) Reset ¶ added in v1.0.1
func (x *GetTraceGraphReply) Reset()
func (*GetTraceGraphReply) String ¶ added in v1.0.1
func (x *GetTraceGraphReply) String() string
type GetTraceGraphReq ¶ added in v1.0.1
type GetTraceGraphReq struct {
Gid string `protobuf:"bytes,1,opt,name=gid,proto3" json:"gid,omitempty"`
Dbpath string `protobuf:"bytes,2,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
// contains filtered or unexported fields
}
func (*GetTraceGraphReq) Descriptor
deprecated
added in
v1.0.1
func (*GetTraceGraphReq) Descriptor() ([]byte, []int)
Deprecated: Use GetTraceGraphReq.ProtoReflect.Descriptor instead.
func (*GetTraceGraphReq) GetDbpath ¶ added in v1.1.0
func (x *GetTraceGraphReq) GetDbpath() string
func (*GetTraceGraphReq) GetGid ¶ added in v1.0.1
func (x *GetTraceGraphReq) GetGid() string
func (*GetTraceGraphReq) ProtoMessage ¶ added in v1.0.1
func (*GetTraceGraphReq) ProtoMessage()
func (*GetTraceGraphReq) ProtoReflect ¶ added in v1.0.1
func (x *GetTraceGraphReq) ProtoReflect() protoreflect.Message
func (*GetTraceGraphReq) Reset ¶ added in v1.0.1
func (x *GetTraceGraphReq) Reset()
func (*GetTraceGraphReq) String ¶ added in v1.0.1
func (x *GetTraceGraphReq) String() string
type GetTracesByParentFuncReply ¶ added in v1.1.0
type GetTracesByParentFuncReply struct {
TraceData []*GetTracesByParentFuncReply_TraceData `protobuf:"bytes,1,rep,name=trace_data,json=traceData,proto3" json:"trace_data,omitempty"`
// contains filtered or unexported fields
}
GetTracesByParentFuncReply 根据父函数名称获取函数调用的响应
func (*GetTracesByParentFuncReply) Descriptor
deprecated
added in
v1.1.0
func (*GetTracesByParentFuncReply) Descriptor() ([]byte, []int)
Deprecated: Use GetTracesByParentFuncReply.ProtoReflect.Descriptor instead.
func (*GetTracesByParentFuncReply) GetTraceData ¶ added in v1.1.0
func (x *GetTracesByParentFuncReply) GetTraceData() []*GetTracesByParentFuncReply_TraceData
func (*GetTracesByParentFuncReply) ProtoMessage ¶ added in v1.1.0
func (*GetTracesByParentFuncReply) ProtoMessage()
func (*GetTracesByParentFuncReply) ProtoReflect ¶ added in v1.1.0
func (x *GetTracesByParentFuncReply) ProtoReflect() protoreflect.Message
func (*GetTracesByParentFuncReply) Reset ¶ added in v1.1.0
func (x *GetTracesByParentFuncReply) Reset()
func (*GetTracesByParentFuncReply) String ¶ added in v1.1.0
func (x *GetTracesByParentFuncReply) String() string
type GetTracesByParentFuncReply_TraceData ¶ added in v1.1.0
type GetTracesByParentFuncReply_TraceData struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Gid int32 `protobuf:"varint,3,opt,name=gid,proto3" json:"gid,omitempty"`
Indent int32 `protobuf:"varint,4,opt,name=indent,proto3" json:"indent,omitempty"`
Params []*TraceParams `protobuf:"bytes,5,rep,name=params,proto3" json:"params,omitempty"`
ParamCount int32 `protobuf:"varint,6,opt,name=paramCount,proto3" json:"paramCount,omitempty"`
TimeCost string `protobuf:"bytes,7,opt,name=timeCost,proto3" json:"timeCost,omitempty"`
ParentId int64 `protobuf:"varint,8,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 父函数ID
// contains filtered or unexported fields
}
func (*GetTracesByParentFuncReply_TraceData) Descriptor
deprecated
added in
v1.1.0
func (*GetTracesByParentFuncReply_TraceData) Descriptor() ([]byte, []int)
Deprecated: Use GetTracesByParentFuncReply_TraceData.ProtoReflect.Descriptor instead.
func (*GetTracesByParentFuncReply_TraceData) GetGid ¶ added in v1.1.0
func (x *GetTracesByParentFuncReply_TraceData) GetGid() int32
func (*GetTracesByParentFuncReply_TraceData) GetId ¶ added in v1.1.0
func (x *GetTracesByParentFuncReply_TraceData) GetId() int32
func (*GetTracesByParentFuncReply_TraceData) GetIndent ¶ added in v1.1.0
func (x *GetTracesByParentFuncReply_TraceData) GetIndent() int32
func (*GetTracesByParentFuncReply_TraceData) GetName ¶ added in v1.1.0
func (x *GetTracesByParentFuncReply_TraceData) GetName() string
func (*GetTracesByParentFuncReply_TraceData) GetParamCount ¶ added in v1.1.0
func (x *GetTracesByParentFuncReply_TraceData) GetParamCount() int32
func (*GetTracesByParentFuncReply_TraceData) GetParams ¶ added in v1.1.0
func (x *GetTracesByParentFuncReply_TraceData) GetParams() []*TraceParams
func (*GetTracesByParentFuncReply_TraceData) GetParentId ¶ added in v1.1.1
func (x *GetTracesByParentFuncReply_TraceData) GetParentId() int64
func (*GetTracesByParentFuncReply_TraceData) GetTimeCost ¶ added in v1.1.0
func (x *GetTracesByParentFuncReply_TraceData) GetTimeCost() string
func (*GetTracesByParentFuncReply_TraceData) ProtoMessage ¶ added in v1.1.0
func (*GetTracesByParentFuncReply_TraceData) ProtoMessage()
func (*GetTracesByParentFuncReply_TraceData) ProtoReflect ¶ added in v1.1.0
func (x *GetTracesByParentFuncReply_TraceData) ProtoReflect() protoreflect.Message
func (*GetTracesByParentFuncReply_TraceData) Reset ¶ added in v1.1.0
func (x *GetTracesByParentFuncReply_TraceData) Reset()
func (*GetTracesByParentFuncReply_TraceData) String ¶ added in v1.1.0
func (x *GetTracesByParentFuncReply_TraceData) String() string
type GetTracesByParentFuncReq ¶ added in v1.1.0
type GetTracesByParentFuncReq struct {
ParentId int64 `protobuf:"varint,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
Dbpath string `protobuf:"bytes,2,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
// contains filtered or unexported fields
}
GetTracesByParentFuncReq 根据父函数ID获取函数调用的请求
func (*GetTracesByParentFuncReq) Descriptor
deprecated
added in
v1.1.0
func (*GetTracesByParentFuncReq) Descriptor() ([]byte, []int)
Deprecated: Use GetTracesByParentFuncReq.ProtoReflect.Descriptor instead.
func (*GetTracesByParentFuncReq) GetDbpath ¶ added in v1.1.0
func (x *GetTracesByParentFuncReq) GetDbpath() string
func (*GetTracesByParentFuncReq) GetParentId ¶ added in v1.1.1
func (x *GetTracesByParentFuncReq) GetParentId() int64
func (*GetTracesByParentFuncReq) ProtoMessage ¶ added in v1.1.0
func (*GetTracesByParentFuncReq) ProtoMessage()
func (*GetTracesByParentFuncReq) ProtoReflect ¶ added in v1.1.0
func (x *GetTracesByParentFuncReq) ProtoReflect() protoreflect.Message
func (*GetTracesByParentFuncReq) Reset ¶ added in v1.1.0
func (x *GetTracesByParentFuncReq) Reset()
func (*GetTracesByParentFuncReq) String ¶ added in v1.1.0
func (x *GetTracesByParentFuncReq) String() string
type GetUnfinishedFunctionsReply ¶ added in v1.1.1
type GetUnfinishedFunctionsReply struct {
Functions []*GetUnfinishedFunctionsReply_UnfinishedFunction `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"` // 未完成函数列表
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // 总数
// contains filtered or unexported fields
}
GetUnfinishedFunctions 响应
func (*GetUnfinishedFunctionsReply) Descriptor
deprecated
added in
v1.1.1
func (*GetUnfinishedFunctionsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetUnfinishedFunctionsReply.ProtoReflect.Descriptor instead.
func (*GetUnfinishedFunctionsReply) GetFunctions ¶ added in v1.1.1
func (x *GetUnfinishedFunctionsReply) GetFunctions() []*GetUnfinishedFunctionsReply_UnfinishedFunction
func (*GetUnfinishedFunctionsReply) GetTotal ¶ added in v1.1.1
func (x *GetUnfinishedFunctionsReply) GetTotal() int32
func (*GetUnfinishedFunctionsReply) ProtoMessage ¶ added in v1.1.1
func (*GetUnfinishedFunctionsReply) ProtoMessage()
func (*GetUnfinishedFunctionsReply) ProtoReflect ¶ added in v1.1.1
func (x *GetUnfinishedFunctionsReply) ProtoReflect() protoreflect.Message
func (*GetUnfinishedFunctionsReply) Reset ¶ added in v1.1.1
func (x *GetUnfinishedFunctionsReply) Reset()
func (*GetUnfinishedFunctionsReply) String ¶ added in v1.1.1
func (x *GetUnfinishedFunctionsReply) String() string
type GetUnfinishedFunctionsReply_UnfinishedFunction ¶ added in v1.1.1
type GetUnfinishedFunctionsReply_UnfinishedFunction struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 函数名称
Gid uint64 `protobuf:"varint,2,opt,name=gid,proto3" json:"gid,omitempty"` // goroutine ID
RunningTime string `protobuf:"bytes,3,opt,name=running_time,json=runningTime,proto3" json:"running_time,omitempty"` // 运行时间
IsBlocking bool `protobuf:"varint,4,opt,name=is_blocking,json=isBlocking,proto3" json:"is_blocking,omitempty"` // 是否阻塞
FunctionId int64 `protobuf:"varint,5,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"` // 函数ID
// contains filtered or unexported fields
}
func (*GetUnfinishedFunctionsReply_UnfinishedFunction) Descriptor
deprecated
added in
v1.1.1
func (*GetUnfinishedFunctionsReply_UnfinishedFunction) Descriptor() ([]byte, []int)
Deprecated: Use GetUnfinishedFunctionsReply_UnfinishedFunction.ProtoReflect.Descriptor instead.
func (*GetUnfinishedFunctionsReply_UnfinishedFunction) GetFunctionId ¶ added in v1.1.1
func (x *GetUnfinishedFunctionsReply_UnfinishedFunction) GetFunctionId() int64
func (*GetUnfinishedFunctionsReply_UnfinishedFunction) GetGid ¶ added in v1.1.1
func (x *GetUnfinishedFunctionsReply_UnfinishedFunction) GetGid() uint64
func (*GetUnfinishedFunctionsReply_UnfinishedFunction) GetIsBlocking ¶ added in v1.1.1
func (x *GetUnfinishedFunctionsReply_UnfinishedFunction) GetIsBlocking() bool
func (*GetUnfinishedFunctionsReply_UnfinishedFunction) GetName ¶ added in v1.1.1
func (x *GetUnfinishedFunctionsReply_UnfinishedFunction) GetName() string
func (*GetUnfinishedFunctionsReply_UnfinishedFunction) GetRunningTime ¶ added in v1.1.1
func (x *GetUnfinishedFunctionsReply_UnfinishedFunction) GetRunningTime() string
func (*GetUnfinishedFunctionsReply_UnfinishedFunction) ProtoMessage ¶ added in v1.1.1
func (*GetUnfinishedFunctionsReply_UnfinishedFunction) ProtoMessage()
func (*GetUnfinishedFunctionsReply_UnfinishedFunction) ProtoReflect ¶ added in v1.1.1
func (x *GetUnfinishedFunctionsReply_UnfinishedFunction) ProtoReflect() protoreflect.Message
func (*GetUnfinishedFunctionsReply_UnfinishedFunction) Reset ¶ added in v1.1.1
func (x *GetUnfinishedFunctionsReply_UnfinishedFunction) Reset()
func (*GetUnfinishedFunctionsReply_UnfinishedFunction) String ¶ added in v1.1.1
func (x *GetUnfinishedFunctionsReply_UnfinishedFunction) String() string
type GetUnfinishedFunctionsReq ¶ added in v1.1.1
type GetUnfinishedFunctionsReq struct {
Dbpath string `protobuf:"bytes,1,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
Threshold int64 `protobuf:"varint,2,opt,name=threshold,proto3" json:"threshold,omitempty"` // 阻塞时间阈值(毫秒)
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` // 当前页码
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` // 每页数量
// contains filtered or unexported fields
}
GetUnfinishedFunctions 请求
func (*GetUnfinishedFunctionsReq) Descriptor
deprecated
added in
v1.1.1
func (*GetUnfinishedFunctionsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetUnfinishedFunctionsReq.ProtoReflect.Descriptor instead.
func (*GetUnfinishedFunctionsReq) GetDbpath ¶ added in v1.1.1
func (x *GetUnfinishedFunctionsReq) GetDbpath() string
func (*GetUnfinishedFunctionsReq) GetLimit ¶ added in v1.1.1
func (x *GetUnfinishedFunctionsReq) GetLimit() int32
func (*GetUnfinishedFunctionsReq) GetPage ¶ added in v1.1.1
func (x *GetUnfinishedFunctionsReq) GetPage() int32
func (*GetUnfinishedFunctionsReq) GetThreshold ¶ added in v1.1.1
func (x *GetUnfinishedFunctionsReq) GetThreshold() int64
func (*GetUnfinishedFunctionsReq) ProtoMessage ¶ added in v1.1.1
func (*GetUnfinishedFunctionsReq) ProtoMessage()
func (*GetUnfinishedFunctionsReq) ProtoReflect ¶ added in v1.1.1
func (x *GetUnfinishedFunctionsReq) ProtoReflect() protoreflect.Message
func (*GetUnfinishedFunctionsReq) Reset ¶ added in v1.1.1
func (x *GetUnfinishedFunctionsReq) Reset()
func (*GetUnfinishedFunctionsReq) String ¶ added in v1.1.1
func (x *GetUnfinishedFunctionsReq) String() string
type GraphEdge ¶ added in v1.0.1
type GraphEdge struct {
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` // 调用次数
// contains filtered or unexported fields
}
func (*GraphEdge) Descriptor
deprecated
added in
v1.0.1
func (*GraphEdge) ProtoMessage ¶ added in v1.0.1
func (*GraphEdge) ProtoMessage()
func (*GraphEdge) ProtoReflect ¶ added in v1.0.1
func (x *GraphEdge) ProtoReflect() protoreflect.Message
type GraphNode ¶ added in v1.0.1
type GraphNode struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
CallCount int32 `protobuf:"varint,3,opt,name=call_count,json=callCount,proto3" json:"call_count,omitempty"`
Package string `protobuf:"bytes,4,opt,name=package,proto3" json:"package,omitempty"` // 包名
TimeCost string `protobuf:"bytes,5,opt,name=time_cost,json=timeCost,proto3" json:"time_cost,omitempty"` // 执行耗时
// contains filtered or unexported fields
}
func (*GraphNode) Descriptor
deprecated
added in
v1.0.1
func (*GraphNode) GetCallCount ¶ added in v1.0.1
func (*GraphNode) GetPackage ¶ added in v1.1.0
func (*GraphNode) GetTimeCost ¶ added in v1.1.0
func (*GraphNode) ProtoMessage ¶ added in v1.0.1
func (*GraphNode) ProtoMessage()
func (*GraphNode) ProtoReflect ¶ added in v1.0.1
func (x *GraphNode) ProtoReflect() protoreflect.Message
type HotFunction ¶ added in v1.1.0
type HotFunction struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CallCount int32 `protobuf:"varint,2,opt,name=call_count,json=callCount,proto3" json:"call_count,omitempty"`
// contains filtered or unexported fields
}
热点函数
func (*HotFunction) Descriptor
deprecated
added in
v1.1.0
func (*HotFunction) Descriptor() ([]byte, []int)
Deprecated: Use HotFunction.ProtoReflect.Descriptor instead.
func (*HotFunction) GetCallCount ¶ added in v1.1.0
func (x *HotFunction) GetCallCount() int32
func (*HotFunction) GetName ¶ added in v1.1.0
func (x *HotFunction) GetName() string
func (*HotFunction) ProtoMessage ¶ added in v1.1.0
func (*HotFunction) ProtoMessage()
func (*HotFunction) ProtoReflect ¶ added in v1.1.0
func (x *HotFunction) ProtoReflect() protoreflect.Message
func (*HotFunction) Reset ¶ added in v1.1.0
func (x *HotFunction) Reset()
func (*HotFunction) String ¶ added in v1.1.0
func (x *HotFunction) String() string
type InstrumentProjectReply ¶ added in v1.1.0
type InstrumentProjectReply struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // 是否成功
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息
// contains filtered or unexported fields
}
插桩响应
func (*InstrumentProjectReply) Descriptor
deprecated
added in
v1.1.0
func (*InstrumentProjectReply) Descriptor() ([]byte, []int)
Deprecated: Use InstrumentProjectReply.ProtoReflect.Descriptor instead.
func (*InstrumentProjectReply) GetMessage ¶ added in v1.1.0
func (x *InstrumentProjectReply) GetMessage() string
func (*InstrumentProjectReply) GetSuccess ¶ added in v1.1.0
func (x *InstrumentProjectReply) GetSuccess() bool
func (*InstrumentProjectReply) ProtoMessage ¶ added in v1.1.0
func (*InstrumentProjectReply) ProtoMessage()
func (*InstrumentProjectReply) ProtoReflect ¶ added in v1.1.0
func (x *InstrumentProjectReply) ProtoReflect() protoreflect.Message
func (*InstrumentProjectReply) Reset ¶ added in v1.1.0
func (x *InstrumentProjectReply) Reset()
func (*InstrumentProjectReply) String ¶ added in v1.1.0
func (x *InstrumentProjectReply) String() string
type InstrumentProjectReq ¶ added in v1.1.0
type InstrumentProjectReq struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // 项目路径
// contains filtered or unexported fields
}
插桩请求
func (*InstrumentProjectReq) Descriptor
deprecated
added in
v1.1.0
func (*InstrumentProjectReq) Descriptor() ([]byte, []int)
Deprecated: Use InstrumentProjectReq.ProtoReflect.Descriptor instead.
func (*InstrumentProjectReq) GetPath ¶ added in v1.1.0
func (x *InstrumentProjectReq) GetPath() string
func (*InstrumentProjectReq) ProtoMessage ¶ added in v1.1.0
func (*InstrumentProjectReq) ProtoMessage()
func (*InstrumentProjectReq) ProtoReflect ¶ added in v1.1.0
func (x *InstrumentProjectReq) ProtoReflect() protoreflect.Message
func (*InstrumentProjectReq) Reset ¶ added in v1.1.0
func (x *InstrumentProjectReq) Reset()
func (*InstrumentProjectReq) String ¶ added in v1.1.0
func (x *InstrumentProjectReq) String() string
type PackageDependency ¶ added in v1.1.0
type PackageDependency struct {
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}
包依赖关系
func (*PackageDependency) Descriptor
deprecated
added in
v1.1.0
func (*PackageDependency) Descriptor() ([]byte, []int)
Deprecated: Use PackageDependency.ProtoReflect.Descriptor instead.
func (*PackageDependency) GetCount ¶ added in v1.1.0
func (x *PackageDependency) GetCount() int32
func (*PackageDependency) GetSource ¶ added in v1.1.0
func (x *PackageDependency) GetSource() string
func (*PackageDependency) GetTarget ¶ added in v1.1.0
func (x *PackageDependency) GetTarget() string
func (*PackageDependency) ProtoMessage ¶ added in v1.1.0
func (*PackageDependency) ProtoMessage()
func (*PackageDependency) ProtoReflect ¶ added in v1.1.0
func (x *PackageDependency) ProtoReflect() protoreflect.Message
func (*PackageDependency) Reset ¶ added in v1.1.0
func (x *PackageDependency) Reset()
func (*PackageDependency) String ¶ added in v1.1.0
func (x *PackageDependency) String() string
type TraceParams ¶
type TraceParams struct {
Pos int32 `protobuf:"varint,1,opt,name=pos,proto3" json:"pos,omitempty"`
Param string `protobuf:"bytes,2,opt,name=param,proto3" json:"param,omitempty"`
// contains filtered or unexported fields
}
func (*TraceParams) Descriptor
deprecated
func (*TraceParams) Descriptor() ([]byte, []int)
Deprecated: Use TraceParams.ProtoReflect.Descriptor instead.
func (*TraceParams) GetParam ¶
func (x *TraceParams) GetParam() string
func (*TraceParams) GetPos ¶
func (x *TraceParams) GetPos() int32
func (*TraceParams) ProtoMessage ¶
func (*TraceParams) ProtoMessage()
func (*TraceParams) ProtoReflect ¶
func (x *TraceParams) ProtoReflect() protoreflect.Message
func (*TraceParams) Reset ¶
func (x *TraceParams) Reset()
func (*TraceParams) String ¶
func (x *TraceParams) String() string
type UnimplementedAnalysisServer ¶
type UnimplementedAnalysisServer struct{}
UnimplementedAnalysisServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAnalysisServer) GetAllFunctionName ¶
func (UnimplementedAnalysisServer) GetAllFunctionName(context.Context, *GetAllFunctionNameReq) (*GetAllFunctionNameReply, error)
func (UnimplementedAnalysisServer) GetAllGIDs ¶
func (UnimplementedAnalysisServer) GetAllGIDs(context.Context, *GetAllGIDsReq) (*GetAllGIDsReply, error)
func (UnimplementedAnalysisServer) GetAllParentIds ¶ added in v1.1.1
func (UnimplementedAnalysisServer) GetAllParentIds(context.Context, *GetAllParentIdsReq) (*GetAllParentIdsReply, error)
func (UnimplementedAnalysisServer) GetAnalysis ¶
func (UnimplementedAnalysisServer) GetAnalysis(context.Context, *AnalysisRequest) (*AnalysisReply, error)
func (UnimplementedAnalysisServer) GetAnalysisByGID ¶
func (UnimplementedAnalysisServer) GetAnalysisByGID(context.Context, *AnalysisByGIDRequest) (*AnalysisByGIDReply, error)
func (UnimplementedAnalysisServer) GetChildFunctions ¶ added in v1.1.0
func (UnimplementedAnalysisServer) GetChildFunctions(context.Context, *GetChildFunctionsReq) (*GetChildFunctionsReply, error)
func (UnimplementedAnalysisServer) GetFunctionAnalysis ¶ added in v1.1.0
func (UnimplementedAnalysisServer) GetFunctionAnalysis(context.Context, *GetFunctionAnalysisReq) (*GetFunctionAnalysisReply, error)
func (UnimplementedAnalysisServer) GetFunctionCallGraph ¶ added in v1.1.0
func (UnimplementedAnalysisServer) GetFunctionCallGraph(context.Context, *GetFunctionCallGraphReq) (*GetFunctionCallGraphReply, error)
func (UnimplementedAnalysisServer) GetGidsByFunctionName ¶
func (UnimplementedAnalysisServer) GetGidsByFunctionName(context.Context, *GetGidsByFunctionNameReq) (*GetGidsByFunctionNameReply, error)
func (UnimplementedAnalysisServer) GetGoroutineStats ¶ added in v1.1.0
func (UnimplementedAnalysisServer) GetGoroutineStats(context.Context, *GetGoroutineStatsReq) (*GetGoroutineStatsReply, error)
func (UnimplementedAnalysisServer) GetHotFunctions ¶ added in v1.1.0
func (UnimplementedAnalysisServer) GetHotFunctions(context.Context, *GetHotFunctionsReq) (*GetHotFunctionsReply, error)
func (UnimplementedAnalysisServer) GetParamsByID ¶
func (UnimplementedAnalysisServer) GetParamsByID(context.Context, *GetParamsByIDReq) (*GetParamsByIDReply, error)
func (UnimplementedAnalysisServer) GetTraceGraph ¶ added in v1.0.1
func (UnimplementedAnalysisServer) GetTraceGraph(context.Context, *GetTraceGraphReq) (*GetTraceGraphReply, error)
func (UnimplementedAnalysisServer) GetTracesByParentFunc ¶ added in v1.1.0
func (UnimplementedAnalysisServer) GetTracesByParentFunc(context.Context, *GetTracesByParentFuncReq) (*GetTracesByParentFuncReply, error)
func (UnimplementedAnalysisServer) GetUnfinishedFunctions ¶ added in v1.1.1
func (UnimplementedAnalysisServer) GetUnfinishedFunctions(context.Context, *GetUnfinishedFunctionsReq) (*GetUnfinishedFunctionsReply, error)
func (UnimplementedAnalysisServer) InstrumentProject ¶ added in v1.1.0
func (UnimplementedAnalysisServer) InstrumentProject(context.Context, *InstrumentProjectReq) (*InstrumentProjectReply, error)
func (UnimplementedAnalysisServer) VerifyProjectPath ¶ added in v1.0.1
func (UnimplementedAnalysisServer) VerifyProjectPath(context.Context, *VerifyProjectPathReq) (*VerifyProjectPathReply, error)
type UnsafeAnalysisServer ¶
type UnsafeAnalysisServer interface {
// contains filtered or unexported methods
}
UnsafeAnalysisServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AnalysisServer will result in compilation errors.
type VerifyProjectPathReply ¶ added in v1.0.1
type VerifyProjectPathReply struct {
Verified bool `protobuf:"varint,1,opt,name=verified,proto3" json:"verified,omitempty"`
// contains filtered or unexported fields
}
func (*VerifyProjectPathReply) Descriptor
deprecated
added in
v1.0.1
func (*VerifyProjectPathReply) Descriptor() ([]byte, []int)
Deprecated: Use VerifyProjectPathReply.ProtoReflect.Descriptor instead.
func (*VerifyProjectPathReply) GetVerified ¶ added in v1.0.1
func (x *VerifyProjectPathReply) GetVerified() bool
func (*VerifyProjectPathReply) ProtoMessage ¶ added in v1.0.1
func (*VerifyProjectPathReply) ProtoMessage()
func (*VerifyProjectPathReply) ProtoReflect ¶ added in v1.0.1
func (x *VerifyProjectPathReply) ProtoReflect() protoreflect.Message
func (*VerifyProjectPathReply) Reset ¶ added in v1.0.1
func (x *VerifyProjectPathReply) Reset()
func (*VerifyProjectPathReply) String ¶ added in v1.0.1
func (x *VerifyProjectPathReply) String() string
type VerifyProjectPathReq ¶ added in v1.0.1
type VerifyProjectPathReq struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*VerifyProjectPathReq) Descriptor
deprecated
added in
v1.0.1
func (*VerifyProjectPathReq) Descriptor() ([]byte, []int)
Deprecated: Use VerifyProjectPathReq.ProtoReflect.Descriptor instead.
func (*VerifyProjectPathReq) GetPath ¶ added in v1.0.1
func (x *VerifyProjectPathReq) GetPath() string
func (*VerifyProjectPathReq) ProtoMessage ¶ added in v1.0.1
func (*VerifyProjectPathReq) ProtoMessage()
func (*VerifyProjectPathReq) ProtoReflect ¶ added in v1.0.1
func (x *VerifyProjectPathReq) ProtoReflect() protoreflect.Message
func (*VerifyProjectPathReq) Reset ¶ added in v1.0.1
func (x *VerifyProjectPathReq) Reset()
func (*VerifyProjectPathReq) String ¶ added in v1.0.1
func (x *VerifyProjectPathReq) String() string