MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / AttachmentHandler

Method AttachmentHandler

api/pkg/di/container.go:1610–1617  ·  view source on GitHub ↗

AttachmentHandler creates a new AttachmentHandler

()

Source from the content-addressed store, hash-verified

1608
1609// AttachmentHandler creates a new AttachmentHandler
1610func (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
1620func (container *Container) RegisterAttachmentRoutes() {

Callers 1

Calls 4

LoggerMethod · 0.95
TracerMethod · 0.95
AttachmentRepositoryMethod · 0.95
DebugMethod · 0.65

Tested by

no test coverage detected