forms

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignServer

type AssignServer struct {
	ServerID string `form:"server_id"`
}

type CreateBackup

type CreateBackup struct {
	Name        string `form:"name"`
	Description string `form:"description"`
}

type CreateDir

type CreateDir struct {
	Path string `form:"path"`
	Name string `form:"name"`
}

type CreateSchedule

type CreateSchedule struct {
	Name      string `form:"name"`
	CronExpr  string `form:"cron_expr"`
	KeepCount int    `form:"keep_count"`
	KeepDays  int    `form:"keep_days"`
}

type CreateServer

type CreateServer struct {
	Name        string `form:"name"`
	GameType    string `form:"game_type"`
	MemoryLimit int    `form:"memory_limit"`
	Port        int    `form:"port"`
}

type CreateUser

type CreateUser struct {
	Email    string `form:"email"`
	Password string `form:"password"`
	IsAdmin  string `form:"is_admin"`
}

type Login

type Login struct {
	Email    string `form:"email"`
	Password string `form:"password"`
}

type MoveFile

type MoveFile struct {
	SourcePath string `form:"source_path"`
	DestPath   string `form:"dest_path"`
}

type RenameFile

type RenameFile struct {
	OldPath string `form:"old_path"`
	NewName string `form:"new_name"`
}

type ResetPassword

type ResetPassword struct {
	UserID      string `form:"user_id"`
	NewPassword string `form:"new_password"`
}

type SaveFile

type SaveFile struct {
	Path    string `form:"path"`
	Content string `form:"content"`
}

type Setup

type Setup struct {
	Email           string `form:"email"`
	Password        string `form:"password"`
	ConfirmPassword string `form:"confirm_password"`
}

type ToggleSchedule

type ToggleSchedule struct {
	Enabled string `form:"enabled"`
}

type UpdateServer

type UpdateServer struct {
	Name        string `form:"name"`
	MemoryLimit int    `form:"memory_limit"`
	Port        int    `form:"port"`
}

type Upload

type Upload struct {
	Path string `form:"path"`
}

Jump to

Keyboard shortcuts

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