Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService interface { GenerateToken(ctx context.Context, userId string, role string) (string, error) GetValidUser(ctx *fiber.Ctx) (string, error) }
func NewAuthService ¶
func NewAuthService() AuthService
Click to show internal directories.
Click to hide internal directories.