Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService interface { IssueToken(u user.User) (string, error) ParseToken(token string) (*Claims, error) }
AuthService interface
func NewAuthService ¶
func NewAuthService(jwtSecret string) AuthService
NewAuthService will instantiate AuthService
Click to show internal directories.
Click to hide internal directories.