Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ScanningResultWireSet = wire.NewSet( NewScanningResultRouterImpl, wire.Bind(new(ScanningResultRouter), new(*ScanningResultRouterImpl)), NewScanningResultRestHandlerImpl, wire.Bind(new(ScanningResultRestHandler), new(*ScanningResultRestHandlerImpl)), )
Functions ¶
This section is empty.
Types ¶
type ScanningResultRestHandler ¶
type ScanningResultRestHandler interface {
ScanResults(w http.ResponseWriter, r *http.Request)
}
type ScanningResultRestHandlerImpl ¶
type ScanningResultRestHandlerImpl struct {
// contains filtered or unexported fields
}
func NewScanningResultRestHandlerImpl ¶
func NewScanningResultRestHandlerImpl( logger *zap.SugaredLogger, userService user.UserService, scanService imageScanning.ImageScanService, enforcer casbin.Enforcer, enforcerUtil rbac.EnforcerUtil, validator *validator.Validate, ) *ScanningResultRestHandlerImpl
func (ScanningResultRestHandlerImpl) ScanResults ¶
func (impl ScanningResultRestHandlerImpl) ScanResults(w http.ResponseWriter, r *http.Request)
type ScanningResultRouter ¶
type ScanningResultRouterImpl ¶
type ScanningResultRouterImpl struct {
ScanningResultRestHandler ScanningResultRestHandler
}
func NewScanningResultRouterImpl ¶
func NewScanningResultRouterImpl(ScanningResultRestHandler ScanningResultRestHandler) *ScanningResultRouterImpl
func (*ScanningResultRouterImpl) InitScanningResultRouter ¶
func (router *ScanningResultRouterImpl) InitScanningResultRouter(configRouter *mux.Router)
Click to show internal directories.
Click to hide internal directories.