package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Mar 29, 2025
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
¶
View Source
const XGlueAuthentication = "X-Glue-Authentication"
Require the user is authenticated
type Auth struct {
Session struct {
ID string `json:"id"`
} `json:"session"`
User User `json:"user"`
}
type User struct {
ID string `json:"id"`
Nick string `json:"nick"`
Picture string `json:"picture"`
Email string `json:"email"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.