Init
This commit is contained in:
10
http/identity.go
Normal file
10
http/identity.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package http
|
||||
|
||||
type AuthLoginRequest struct {
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
}
|
||||
|
||||
type AuthLoginResponse struct {
|
||||
Token string `json:"jwt_token"`
|
||||
}
|
||||
Reference in New Issue
Block a user