Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServiceSet = wire.NewSet(ThreatSrvStruct)
View Source
var ThreatSrvStruct = wire.Struct(new(ThreatSrv), "*")
Functions ¶
This section is empty.
Types ¶
type ThreatSrv ¶
type ThreatSrv struct {
ThreatRepo repository.ThreatRepo
}
func (*ThreatSrv) QueryThreatsWithPagnition ¶
func (s *ThreatSrv) QueryThreatsWithPagnition(ctx context.Context, pagnition schema.PaginationParam) ([]*ent.Threat, schema.PaginationResponse, error)
Click to show internal directories.
Click to hide internal directories.