Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthMiddleware ¶
func AuthMiddleware(allowedEmails []string) gin.HandlerFunc
Types ¶
type RequestHandler ¶
type RequestHandler struct {
// contains filtered or unexported fields
}
func NewRequestHandler ¶
func NewRequestHandler(d interfaces.Downloader, p interfaces.Parser) *RequestHandler
func (*RequestHandler) ParseURL ¶
func (rh *RequestHandler) ParseURL(ctx *gin.Context)
func (*RequestHandler) Test ¶
func (rh *RequestHandler) Test(ctx *gin.Context)
type URLParsingRequest ¶
type URLParsingRequest struct {
URL string `form:"URL" binding:"required" example:"https://www.instagram.com/p/C7h7ksJOBvc/"`
}
Click to show internal directories.
Click to hide internal directories.