Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBadRequest = fmt.Errorf("Bad Request") ErrInternalServerError = fmt.Errorf("Internal Server Error") )
Functions ¶
Types ¶
type AuthenticationHandler ¶
type AuthenticationHandler struct {
// contains filtered or unexported fields
}
func NewAuthetnticationHandler ¶
func NewAuthetnticationHandler(authService ports.AuthenticationService) *AuthenticationHandler
func (*AuthenticationHandler) LogIn ¶
func (ahdl *AuthenticationHandler) LogIn(c *gin.Context)
func (*AuthenticationHandler) Register ¶
func (ahdl *AuthenticationHandler) Register(c *gin.Context)
type UrlHttpHandler ¶
type UrlHttpHandler struct {
// contains filtered or unexported fields
}
func NewUrlHttpHandler ¶
func NewUrlHttpHandler(urlService ports.URLService) *UrlHttpHandler
func (*UrlHttpHandler) Add ¶
func (hdl *UrlHttpHandler) Add(c *gin.Context)
func (*UrlHttpHandler) Get ¶
func (hdl *UrlHttpHandler) Get(c *gin.Context)
func (*UrlHttpHandler) Redirect ¶
func (hdl *UrlHttpHandler) Redirect(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.