Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Login ¶
func Login(req *pb.LoginRequest) *pb.LoginResponse
Types ¶
type MyCustomClaims ¶
type MyCustomClaims struct { Email string `json:"email"` IsAdmin bool `json:"isAdmin"` jwt.StandardClaims }
MyCustomClaims for jwt
Click to show internal directories.
Click to hide internal directories.