Documentation ¶
Index ¶
- func EncryptPassword(password string) []byte
- type AuthenticationService
- func (service AuthenticationService) AuthenticateSession(c *gin.Context) (int, error)
- func (service AuthenticationService) Authorize(c *gin.Context) (userResponse *userSerializers.UserAuthSerializer, status int, err error)
- func (service AuthenticationService) BasicLogin(c *gin.Context) (userResponse *userSerializers.UserAuthSerializer, status int, err error)
- func (service AuthenticationService) Identify(c *gin.Context) (reSendTime int, status int, err error)
- func (service AuthenticationService) Login(c *gin.Context) map[string]string
- func (service AuthenticationService) Logout(c *gin.Context) int
- func (service AuthenticationService) Recover(recoveryData userSerializers.Recover) (status int, err error)
- func (service AuthenticationService) UpdatePassword(userPasswordData userSerializers.Recover) (status int, err error)
- type TeamService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthenticationService ¶
AuthenticationService ...
func (AuthenticationService) AuthenticateSession ¶
func (service AuthenticationService) AuthenticateSession(c *gin.Context) (int, error)
AuthenticateSession ...
func (AuthenticationService) Authorize ¶
func (service AuthenticationService) Authorize(c *gin.Context) ( userResponse *userSerializers.UserAuthSerializer, status int, err error)
Authorize ...
func (AuthenticationService) BasicLogin ¶
func (service AuthenticationService) BasicLogin(c *gin.Context) ( userResponse *userSerializers.UserAuthSerializer, status int, err error)
BasicLogin ...
func (AuthenticationService) Identify ¶
func (service AuthenticationService) Identify(c *gin.Context) ( reSendTime int, status int, err error)
Identify ...
func (AuthenticationService) Login ¶
func (service AuthenticationService) Login(c *gin.Context) map[string]string
Login ...
func (AuthenticationService) Logout ¶
func (service AuthenticationService) Logout(c *gin.Context) int
Logout ...
func (AuthenticationService) Recover ¶
func (service AuthenticationService) Recover(recoveryData userSerializers.Recover) ( status int, err error)
Recover ...
func (AuthenticationService) UpdatePassword ¶
func (service AuthenticationService) UpdatePassword(userPasswordData userSerializers.Recover) ( status int, err error)
UpdatePassword ...
type TeamService ¶
TeamService ...
func (TeamService) MemberList ¶
func (service TeamService) MemberList(teamID string, userID uint, onlyActive bool, isAdmin bool) ( members *userSerializers.MembersSerializer, status int, err error)
MemberList ...
func (TeamService) UserTeamList ¶
func (service TeamService) UserTeamList(userID uint, onlyActive bool) (teams *userSerializers.TeamsSerializer, status int, err error)
UserTeamList ...
Click to show internal directories.
Click to hide internal directories.