Documentation
¶
Index ¶
- Variables
- type AnalysisResult
- type AnalysisService
- func (s *AnalysisService) AnalyzeDb(dbPath string) (*AnalysisResult, error)
- func (s *AnalysisService) CheckDatabase(ctx context.Context, req *v1.CheckDatabaseRequest) (*v1.CheckDatabaseResponse, error)
- func (s *AnalysisService) GenerateImage(ctx context.Context, in *v1.GenerateImageReq) (*v1.GenerateImageReply, error)
- func (s *AnalysisService) GetAllFunctionName(ctx context.Context, in *v1.GetAllFunctionNameReq) (*v1.GetAllFunctionNameReply, error)
- func (s *AnalysisService) GetAllGIDs(ctx context.Context, in *v1.GetAllGIDsReq) (*v1.GetAllGIDsReply, error)
- func (s *AnalysisService) GetAnalysis(ctx context.Context, in *v1.AnalysisRequest) (*v1.AnalysisReply, error)
- func (s *AnalysisService) GetAnalysisByGID(ctx context.Context, in *v1.AnalysisByGIDRequest) (*v1.AnalysisByGIDReply, error)
- func (s *AnalysisService) GetDbFiles() ([]DbFile, error)
- func (s *AnalysisService) GetGidsByFunctionName(ctx context.Context, in *v1.GetGidsByFunctionNameReq) (*v1.GetGidsByFunctionNameReply, error)
- func (s *AnalysisService) GetParamsByID(ctx context.Context, in *v1.GetParamsByIDReq) (*v1.GetParamsByIDReply, error)
- func (s *AnalysisService) GetTraceGraph(ctx context.Context, in *v1.GetTraceGraphReq) (*v1.GetTraceGraphReply, error)
- func (s *AnalysisService) VerifyProjectPath(ctx context.Context, in *v1.VerifyProjectPathReq) (*v1.VerifyProjectPathReply, error)
- type DbFile
- type GraphData
- type GraphEdge
- type GraphNode
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewAnalysisService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type AnalysisResult ¶ added in v1.0.1
type AnalysisService ¶
type AnalysisService struct { v1.UnimplementedAnalysisServer // contains filtered or unexported fields }
GreeterService is a greeter service.
func NewAnalysisService ¶
func NewAnalysisService(uc *analysis.AnalysisBiz) *AnalysisService
NewGreeterService new a greeter service.
func (*AnalysisService) AnalyzeDb ¶ added in v1.0.1
func (s *AnalysisService) AnalyzeDb(dbPath string) (*AnalysisResult, error)
AnalyzeDb 分析指定的数据库文件
func (*AnalysisService) CheckDatabase ¶ added in v1.0.1
func (s *AnalysisService) CheckDatabase(ctx context.Context, req *v1.CheckDatabaseRequest) (*v1.CheckDatabaseResponse, error)
func (*AnalysisService) GenerateImage ¶
func (s *AnalysisService) GenerateImage(ctx context.Context, in *v1.GenerateImageReq) (*v1.GenerateImageReply, error)
func (*AnalysisService) GetAllFunctionName ¶
func (s *AnalysisService) GetAllFunctionName(ctx context.Context, in *v1.GetAllFunctionNameReq) (*v1.GetAllFunctionNameReply, error)
func (*AnalysisService) GetAllGIDs ¶
func (s *AnalysisService) GetAllGIDs(ctx context.Context, in *v1.GetAllGIDsReq) (*v1.GetAllGIDsReply, error)
func (*AnalysisService) GetAnalysis ¶
func (s *AnalysisService) GetAnalysis(ctx context.Context, in *v1.AnalysisRequest) (*v1.AnalysisReply, error)
SayHello implements helloworld.GreeterServer.
func (*AnalysisService) GetAnalysisByGID ¶
func (s *AnalysisService) GetAnalysisByGID(ctx context.Context, in *v1.AnalysisByGIDRequest) (*v1.AnalysisByGIDReply, error)
func (*AnalysisService) GetDbFiles ¶ added in v1.0.1
func (s *AnalysisService) GetDbFiles() ([]DbFile, error)
GetDbFiles 获取数据库文件列表
func (*AnalysisService) GetGidsByFunctionName ¶
func (s *AnalysisService) GetGidsByFunctionName(ctx context.Context, in *v1.GetGidsByFunctionNameReq) (*v1.GetGidsByFunctionNameReply, error)
func (*AnalysisService) GetParamsByID ¶
func (s *AnalysisService) GetParamsByID(ctx context.Context, in *v1.GetParamsByIDReq) (*v1.GetParamsByIDReply, error)
func (*AnalysisService) GetTraceGraph ¶ added in v1.0.1
func (s *AnalysisService) GetTraceGraph(ctx context.Context, in *v1.GetTraceGraphReq) (*v1.GetTraceGraphReply, error)
func (*AnalysisService) VerifyProjectPath ¶ added in v1.0.1
func (s *AnalysisService) VerifyProjectPath(ctx context.Context, in *v1.VerifyProjectPathReq) (*v1.VerifyProjectPathReply, error)
Click to show internal directories.
Click to hide internal directories.