Discover Packages
github.com/sneakykiwi/gs-panel
internal
forms
package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Feb 5, 2026
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type AssignServer struct {
ServerID string `form:"server_id"`
}
type CreateBackup struct {
Name string `form:"name"`
Description string `form:"description"`
}
type CreateDir struct {
Path string `form:"path"`
Name string `form:"name"`
}
type CreateSchedule struct {
Name string `form:"name"`
CronExpr string `form:"cron_expr"`
KeepCount int `form:"keep_count"`
KeepDays int `form:"keep_days"`
}
type CreateServer struct {
Name string `form:"name"`
GameType string `form:"game_type"`
MemoryLimit int `form:"memory_limit"`
Port int `form:"port"`
}
type CreateUser struct {
Email string `form:"email"`
Password string `form:"password"`
IsAdmin string `form:"is_admin"`
}
type Login struct {
Email string `form:"email"`
Password string `form:"password"`
}
type MoveFile struct {
SourcePath string `form:"source_path"`
DestPath string `form:"dest_path"`
}
type RenameFile struct {
OldPath string `form:"old_path"`
NewName string `form:"new_name"`
}
type ResetPassword struct {
UserID string `form:"user_id"`
NewPassword string `form:"new_password"`
}
type SaveFile struct {
Path string `form:"path"`
Content string `form:"content"`
}
type Setup struct {
Email string `form:"email"`
Password string `form:"password"`
ConfirmPassword string `form:"confirm_password"`
}
type ToggleSchedule struct {
Enabled string `form:"enabled"`
}
type UpdateServer struct {
Name string `form:"name"`
MemoryLimit int `form:"memory_limit"`
Port int `form:"port"`
}
type Upload struct {
Path string `form:"path"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.