Discover Packages
github.com/opencars/auth
pkg
model
package
Version:
v0.0.13
Opens a new window with list of versions in this module.
Published: Aug 11, 2020
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 Authorization struct {
Token
Status string `json:"status"`
Error *string `json:"error,omitempty"`
IP string `json:"ip"`
Time time .Time `json:"timestamp"`
}
type Token struct {
ID string `json:"id" db:"id"`
Name string `json:"name" db:"name"`
Enabled bool `json:"enabled" db:"enabled"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.