AttachmentHandler creates a new AttachmentHandler
()
| 1608 | |
| 1609 | // AttachmentHandler creates a new AttachmentHandler |
| 1610 | func (container *Container) AttachmentHandler() (handler *handlers.AttachmentHandler) { |
| 1611 | container.logger.Debug(fmt.Sprintf("creating %T", handler)) |
| 1612 | return handlers.NewAttachmentHandler( |
| 1613 | container.Logger(), |
| 1614 | container.Tracer(), |
| 1615 | container.AttachmentRepository(), |
| 1616 | ) |
| 1617 | } |
| 1618 | |
| 1619 | // RegisterAttachmentRoutes registers routes for the /attachments prefix |
| 1620 | func (container *Container) RegisterAttachmentRoutes() { |
no test coverage detected