interactor

package
v0.0.0-...-cd8c0a5 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AccessTokenInteractor

type AccessTokenInteractor struct {
	// contains filtered or unexported fields
}

func NewAccessTokenInteractor

func NewAccessTokenInteractor(jwtRepo port.JwtRepository,
	userRepo port.UserPort,
	userAuthRepo port.UserAuthPort,
	loggerRepo port.LoggerPort,
) *AccessTokenInteractor

func (*AccessTokenInteractor) DeleteAccessToken

func (interactor *AccessTokenInteractor) DeleteAccessToken(c *gin.Context) (httpCode int, statusCode string, data interface{}, error error)

func (*AccessTokenInteractor) GetAccessToken

func (interactor *AccessTokenInteractor) GetAccessToken(c *gin.Context) (httpCode int, statusCode string, data interface{}, error error)

func (*AccessTokenInteractor) PrintDebug

func (interactor *AccessTokenInteractor) PrintDebug(num string, group string, message string)

func (*AccessTokenInteractor) PrintError

func (interactor *AccessTokenInteractor) PrintError(num string, group string, message string)

func (*AccessTokenInteractor) PrintInfo

func (interactor *AccessTokenInteractor) PrintInfo(num string, group string, message string)

func (*AccessTokenInteractor) PutAccessToken

func (interactor *AccessTokenInteractor) PutAccessToken(c *gin.Context) (httpCode int, statusCode string, data interface{}, error error)

type SystemUserInteractor

type SystemUserInteractor struct {
	// contains filtered or unexported fields
}

func NewSystemUserInteractor

func NewSystemUserInteractor(
	jwtRepo port.JwtRepository,
	userRepo port.UserPort,
	userRoleRepo port.UserRolePort,
	userAuthRepo port.UserAuthPort,
	loggerRepo port.LoggerPort,
) *SystemUserInteractor

func (*SystemUserInteractor) DeleteUserInfo

func (interactor *SystemUserInteractor) DeleteUserInfo(c *gin.Context) (httpCode int, statusCode string, data interface{}, error error)

func (*SystemUserInteractor) GetUserList

func (interactor *SystemUserInteractor) GetUserList(c *gin.Context) (httpCode int, statusCode string, data interface{}, error error)

func (*SystemUserInteractor) GetUserRoleList

func (interactor *SystemUserInteractor) GetUserRoleList(c *gin.Context) (httpCode int, statusCode string, data interface{}, error error)

func (*SystemUserInteractor) PostUserInfo

func (interactor *SystemUserInteractor) PostUserInfo(c *gin.Context) (httpCode int, statusCode string, data interface{}, error error)

func (*SystemUserInteractor) PrintDebug

func (interactor *SystemUserInteractor) PrintDebug(num string, group string, message string)

func (*SystemUserInteractor) PrintError

func (interactor *SystemUserInteractor) PrintError(num string, group string, message string)

func (*SystemUserInteractor) PrintInfo

func (interactor *SystemUserInteractor) PrintInfo(num string, group string, message string)

func (*SystemUserInteractor) PutUserInfo

func (interactor *SystemUserInteractor) PutUserInfo(c *gin.Context) (httpCode int, statusCode string, data interface{}, error error)

func (*SystemUserInteractor) SearchUserInfo

func (interactor *SystemUserInteractor) SearchUserInfo(c *gin.Context) (httpCode int, statusCode string, data interface{}, error error)

type UserInteractor

type UserInteractor struct {
	// contains filtered or unexported fields
}

func NewUserInteractor

func NewUserInteractor(jwtRepo port.JwtRepository,
	userRepo port.UserPort,
	userAuthRepo port.UserAuthPort,
	loggerRepo port.LoggerPort,
) *UserInteractor

func (*UserInteractor) PasswordChange

func (interactor *UserInteractor) PasswordChange(c *gin.Context) (httpCode int, statusCode string, data interface{}, error error)

func (*UserInteractor) PrintDebug

func (interactor *UserInteractor) PrintDebug(num string, group string, message string)

func (*UserInteractor) PrintError

func (interactor *UserInteractor) PrintError(num string, group string, message string)

func (*UserInteractor) PrintInfo

func (interactor *UserInteractor) PrintInfo(num string, group string, message string)

func (*UserInteractor) Search

func (interactor *UserInteractor) Search(c *gin.Context) (httpCode int, statusCode string, data interface{}, error error)

Jump to

Keyboard shortcuts

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