Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthLogic ¶
type AuthLogic interface {
SignIn(c *gin.Context)
SignUp(c *gin.Context)
RefreshToken(c *gin.Context)
SignOut(c *gin.Context)
}
func NewAuthLogic ¶
func NewAuthLogic( authConfig configs.Auth, usernamesTakenCache cache.UsernamesTaken, refreshTokenCache cache.RefreshToken, accountGrpc account_grpc.Client, tokenLogic token_logic.Token, logger *zap.Logger, ) AuthLogic
type UsersLogic ¶
func NewUsersLogic ¶
func NewUsersLogic( accountGrpc account_grpc.Client, logger *zap.Logger, ) UsersLogic
Click to show internal directories.
Click to hide internal directories.