Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPost ¶
func RegisterRoutes ¶
func RegisterRoutes(rg *gin.RouterGroup)
Types ¶
type LoginOtpResponse ¶ added in v2.3.0
type LoginOtpResponse struct {
OtpNeeded bool `json:"otpNeeded"`
}
type LoginRequestData ¶
type LoginResponse ¶
type LoginResponse struct { Session string `json:"session"` Scopes []pufferpanel.Scope `json:"scopes,omitempty"` }
type OtpRequestData ¶ added in v2.3.0
type OtpRequestData struct {
Token string `json:"token"`
}
Click to show internal directories.
Click to hide internal directories.