Documentation ¶
Index ¶
- func NewService() assessment.AssessmentServer
- type Service
- func (s Service) ListAssessmentResults(ctx context.Context, req *assessment.ListAssessmentResultsRequest) (res *assessment.ListAssessmentResultsResponse, err error)
- func (s Service) StoreEvidence(ctx context.Context, req *assessment.StoreEvidenceRequest) (res *assessment.Evidence, err error)
- func (s Service) StreamEvidences(stream assessment.Assessment_StreamEvidencesServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶ added in v1.3.4
func NewService() assessment.AssessmentServer
Types ¶
type Service ¶
type Service struct { ResultHook func(result *assessment.Result, err error) assessment.UnimplementedAssessmentServer // contains filtered or unexported fields }
func (Service) ListAssessmentResults ¶ added in v1.3.5
func (s Service) ListAssessmentResults(ctx context.Context, req *assessment.ListAssessmentResultsRequest) (res *assessment.ListAssessmentResultsResponse, err error)
func (Service) StoreEvidence ¶ added in v1.3.5
func (s Service) StoreEvidence(ctx context.Context, req *assessment.StoreEvidenceRequest) (res *assessment.Evidence, err error)
func (Service) StreamEvidences ¶ added in v1.3.4
func (s Service) StreamEvidences(stream assessment.Assessment_StreamEvidencesServer) error
Click to show internal directories.
Click to hide internal directories.