package
Version:
v0.0.0-...-300d8f5
Opens a new window with list of versions in this module.
Published: Dec 9, 2025
License: GPL-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
type OTPJson struct {
Username string `json:"username" structs:"username"`
Token string `json:"token" structs:"token"`
OTP string `json:"otp" structs:"otp"`
}
type Status2FA struct {
Status bool `json:"status" structs:"status"`
}
type UBusCallJSON struct {
Path string `json:"path" structs:"path"`
Method string `json:"method" structs:"method"`
Payload interface{} `json:"payload" structs:"payload"`
}
type UserAuthorizations struct {
Username string `json:"username" structs:"username"`
Role string `json:"role" structs:"role"`
Actions []string `json:"actions" structs:"actions"`
SudoRequested bool `json:"sudo_requested" structs:"sudo_requested"`
}
type UserLogin struct {
Username string `json:"username" structs:"username"`
Password string `json:"password" structs:"password"`
Timeout int `json:"timeout" structs:"timeout"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.