package
Version:
v0.0.0-...-7f21696
Opens a new window with list of versions in this module.
Published: Apr 11, 2019
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
SignedInUser returns models.User instance if user exists
type Oauth2 struct {
Code string `json:"code"`
Provider string `json:"provider"`
}
type ResponseAuth struct {
Success bool `json:"success"`
Token string `json:"token"`
}
type SignIn struct {
Uname string `json:"_username"`
Pass string `json:"_password"`
}
type SignUp struct {
Email string `json:"_email"`
Pass string `json:"_password"`
Token string `json:"_token"`
Uname string `json:"_username"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.