Documentation ¶
Index ¶
- func CreateUser(ctx context.Context, username string, password string) (models.User, error)
- func GetUserByUsername(ctx context.Context, username string) (models.User, error)
- func GetUsers(ctx context.Context) ([]models.User, error)
- func IsUniqueUsername(ctx context.Context, username string) bool
- func IsValidUsernamePassword(ctx context.Context, username string, password string) bool
- func ProduceJwtTokenForUser(ctx context.Context, username string, userId string) (string, time.Time, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUser ¶
func GetUserByUsername ¶
func IsValidUsernamePassword ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.