Discover Packages
github.com/letsgo-framework/letsgo
types
package
Version:
v0.0.0-...-9d902f9
Opens a new window with list of versions in this module.
Published: Nov 7, 2019
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type CredentialResponse struct {
CLIENT_ID string
CLIENT_SECRET string
}
CredentialResponse is Client Credential response type
type TokenResponse struct {
AccessToken string `json:"access_token"`
ExpiresIn string `json:"expires_in"`
Scope string `json:"scope"`
TokenType string `json:"token_type"`
}
TokenResponse is type for accesstoken response
type User struct {
Id primitive .ObjectID `json:"id,omitempty" bson:"_id,omitempty"`
Name string `json:"name"`
Username string `json:"username"`
Password string `json:"password"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.