package
Version:
v0.0.4
Opens a new window with list of versions in this module.
Published: Dec 12, 2021
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
¶
type Data struct {
Active bool `json:"active"`
AccessToken *string `json:"access_token"`
ClientID *string `json:"client_id"`
UserID *string `json:"user_id"`
Scopes *[]string `json:"scopes"`
User *User `json:"user"`
}
type Payload struct {
Token string `json:"token"`
}
func (r *Request) Payload(p interface{})
type Response struct {
Body Body
StatusCode int
}
type User struct {
Email string `json:"email"`
ActivatedAt string `json:"activated_at"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.