Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseHandler ¶
type BaseHandler struct {
// contains filtered or unexported fields
}
BaseHandler contains common handler dependencies and methods
func NewBaseHandler ¶
func NewBaseHandler(conv iface.Converter, storage *storage.FileStorage, logger utils.Logger) *BaseHandler
NewBaseHandler creates a new BaseHandler
type ConvertHandler ¶
type ConvertHandler struct {
*BaseHandler
}
ConvertHandler handles file conversion requests
func NewConvertHandler ¶
func NewConvertHandler(conv iface.Converter, storage *storage.FileStorage, logger utils.Logger) *ConvertHandler
NewConvertHandler creates a new ConvertHandler
func (*ConvertHandler) ConvertFile ¶
func (h *ConvertHandler) ConvertFile(c *gin.Context)
ConvertFile handles file conversion requests
func (*ConvertHandler) GetSupportedFormats ¶
func (h *ConvertHandler) GetSupportedFormats(c *gin.Context)
GetSupportedFormats returns the list of supported conversion formats
func (*ConvertHandler) HealthCheck ¶
func (h *ConvertHandler) HealthCheck(c *gin.Context)
HealthCheck returns the health status of the service
Click to show internal directories.
Click to hide internal directories.