urlhdl

package
v0.0.0-...-d66a43f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBadRequest          = fmt.Errorf("Bad Request")
	ErrInternalServerError = fmt.Errorf("Internal Server Error")
)

Functions

func Launch

func Launch() error

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL