Documentation ¶
Overview ¶
Package loginRequests contains all models regarding login and registration requests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserAuth ¶
type UserAuth struct { Type string `json:"Type" xml:"Type" form:"Type"` API_Token string `json:"API_Token" xml:"API_Token" form:"API_Token"` Username string `json:"Username" xml:"Username" form:"Username"` Password string `json:"Password" xml:"Username" form:"Password"` }
UserAuth represents an auth try to the system.
type UserRegistration ¶
type UserRegistration struct { Type string `json:"Type" xml:"Type" form:"Type"` API_Token string `json:"API_Token" xml:"API_Token" form:"API_Token"` Username string `json:"Username" xml:"Username" form:"Username"` Password string `json:"Password" xml:"Password" form:"Password"` }
Registration represents a request to register into the system.
Click to show internal directories.
Click to hide internal directories.