package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Jun 3, 2022
License: MIT
Opens a new window with license information.
Imports: 21
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func New(db *gorm.DB) *handlers
type GroupAction struct {
Name string `json:"name"`
}
type Password struct {
Password string `json:"password"`
}
type TokenClaims struct {
Access []docker.Scope `json:"access,omitempty"`
jwt.StandardClaims
}
type TokenResponse struct {
Token string `json:"token"`
AccessToken string `json:"access_token"`
ExpiresIn int `json:"expires_in"`
IssuedAt time.Time `json:"issued_at"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.