api

package
v3.0.0-alpha.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPageSize = 20
View Source
const MaxPageSize = 100

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(rg *gin.RouterGroup)

Types

type BrandingConfig

type BrandingConfig struct {
	Name string `json:"name" example:"PufferPanel"`

} //@name BrandingConfig

type EditableConfig

type EditableConfig struct {
	Themes              ThemeConfig    `json:"themes"`
	Branding            BrandingConfig `json:"branding"`
	RegistrationEnabled bool           `json:"registrationEnabled"`

} //@name EditableConfigSettings

type ThemeConfig

type ThemeConfig struct {
	Active    string   `json:"active" example:"default"`
	Settings  string   `json:"settings" example:"{}"`
	Available []string `json:"available" example:"alternativeTheme"`

} //@name ThemeConfig

type ValidateOtpRequest

type ValidateOtpRequest struct {
	Token string `json:"token"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL