Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JwtRepository ¶
type LoggerPort ¶
type UserAuthPort ¶
type UserAuthPort interface { FindAccessToken(accessToken string) (*entity.UserAuth, error) DeleteAccessToken(userID uint, accessToken string) (*entity.UserAuth, error) InsertAccessToken(userID uint, accessToken string) (*entity.UserAuth, error) DeleteInsertAccessToken(userID uint, deleteAccessToken string, insertAccessToken string) (*entity.UserAuth, error) }
type UserPort ¶
type UserPort interface { GetUserList() (*[]entity.User, error) FindUserId(userId uint) (*entity.User, error) LoginUserNamePassword(userName string, password string) (*entity.User, error) FindUserName(userName string) (*entity.User, error) InsertUser(userName string, lastName string, firstName string, employeeNumber string, password string, roleBitCode uint64) (*entity.User, error) UpdateUse(userId uint, userName *string, lastName *string, firstName *string, employeeNumber *string, password *string, roleBitCode uint64) (*entity.User, error) DeleteUser(userName string) (*entity.User, error) }
Click to show internal directories.
Click to hide internal directories.