Documentation
¶
Index ¶
- Constants
- type Service
- func (s *Service) AddKnowledgeReport(ctx context.Context, req *knowledgebase_report_service.AddReportReq) (*emptypb.Empty, error)
- func (s *Service) BatchAddKnowledgeReport(ctx context.Context, ...) (*emptypb.Empty, error)
- func (s *Service) DeleteKnowledgeReport(ctx context.Context, req *knowledgebase_report_service.DeleteReportReq) (*emptypb.Empty, error)
- func (s *Service) GenerateKnowledgeReport(ctx context.Context, req *knowledgebase_report_service.ReportIdentity) (*emptypb.Empty, error)
- func (s *Service) GetKnowledgeReport(ctx context.Context, req *knowledgebase_report_service.GetReportReq) (*knowledgebase_report_service.GetReportResp, error)
- func (s *Service) GrpcType() string
- func (s *Service) Register(serv *grpc.Server) error
- func (s *Service) UpdateKnowledgeReport(ctx context.Context, req *knowledgebase_report_service.UpdateReportReq) (*emptypb.Empty, error)
Constants ¶
View Source
const ( Regenerate = "重新生成" ReportProcessing = 1 ReportSuccess = 2 ReportFailed = 3 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
knowledgebase_report_service.UnimplementedKnowledgeBaseReportServiceServer
}
func (*Service) AddKnowledgeReport ¶
func (s *Service) AddKnowledgeReport(ctx context.Context, req *knowledgebase_report_service.AddReportReq) (*emptypb.Empty, error)
func (*Service) BatchAddKnowledgeReport ¶
func (s *Service) BatchAddKnowledgeReport(ctx context.Context, req *knowledgebase_report_service.BatchAddKnowledgeReportReq) (*emptypb.Empty, error)
func (*Service) DeleteKnowledgeReport ¶
func (s *Service) DeleteKnowledgeReport(ctx context.Context, req *knowledgebase_report_service.DeleteReportReq) (*emptypb.Empty, error)
func (*Service) GenerateKnowledgeReport ¶
func (s *Service) GenerateKnowledgeReport(ctx context.Context, req *knowledgebase_report_service.ReportIdentity) (*emptypb.Empty, error)
func (*Service) GetKnowledgeReport ¶
func (s *Service) GetKnowledgeReport(ctx context.Context, req *knowledgebase_report_service.GetReportReq) (*knowledgebase_report_service.GetReportResp, error)
func (*Service) UpdateKnowledgeReport ¶
func (s *Service) UpdateKnowledgeReport(ctx context.Context, req *knowledgebase_report_service.UpdateReportReq) (*emptypb.Empty, error)
Click to show internal directories.
Click to hide internal directories.