Documentation ¶
Index ¶
- Variables
- func NewJwtRepository() port.JwtRepository
- type CorsInteractor
- type JwtInteractor
- func (interactor *JwtInteractor) JwtMiddleware() gin.HandlerFunc
- func (interactor *JwtInteractor) PrintDebug(num string, group string, message string)
- func (interactor *JwtInteractor) PrintError(num string, group string, message string)
- func (interactor *JwtInteractor) PrintInfo(num string, group string, message string)
Constants ¶
This section is empty.
Variables ¶
View Source
var Set = wire.NewSet( NewJwtInteractor, NewJwtRepository, NewCorsInteractor, )
Functions ¶
func NewJwtRepository ¶
func NewJwtRepository() port.JwtRepository
Types ¶
type CorsInteractor ¶
type CorsInteractor struct { }
func NewCorsInteractor ¶
func NewCorsInteractor() *CorsInteractor
func (*CorsInteractor) CorsMiddleware ¶
func (interactor *CorsInteractor) CorsMiddleware() gin.HandlerFunc
type JwtInteractor ¶
type JwtInteractor struct { JwtRepo port.JwtRepository UserRepo port.UserPort // contains filtered or unexported fields }
func NewJwtInteractor ¶
func NewJwtInteractor(jwtRepo port.JwtRepository, userRepo port.UserPort, userAuthRepo port.UserAuthPort, loggerRepo port.LoggerPort) *JwtInteractor
func (*JwtInteractor) JwtMiddleware ¶
func (interactor *JwtInteractor) JwtMiddleware() gin.HandlerFunc
func (*JwtInteractor) PrintDebug ¶
func (interactor *JwtInteractor) PrintDebug(num string, group string, message string)
func (*JwtInteractor) PrintError ¶
func (interactor *JwtInteractor) PrintError(num string, group string, message string)
Click to show internal directories.
Click to hide internal directories.