package
module
Version:
v0.0.0-...-0947d67
Opens a new window with list of versions in this module.
Published: Mar 18, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
-
func ParseArgs(logger *log.Logger) (string, string, string, error)
-
func RenderAuthorizedKeysEntry(logger *log.Logger, shell string, userId int, username string, b64key string, ...)
-
func UserFromKey(logger *log.Logger, config ini.File, redis *goredis.Client, service string, ...) (string, int)
-
type KeyCache
-
type MetaSSHKey
-
type MetaUser
type KeyCache struct {
UserId int `json:"user_id"`
Username string `json:"username"`
}
type MetaSSHKey struct {
Id int `json:"id"`
Fingerprint string `json:"fingerprint"`
Key string `json:"key"`
Owner MetaUser `json:"owner"`
}
We don't need everything, so we don't include everything.
type MetaUser struct {
Username string `json:"name"`
}
We don't need everything, so we don't include everything.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.