forms

package
v0.0.0-...-b33f08c Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 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 AddOp

type AddOp struct {
	OpName string `form:"opname"`
}

AddOp is the structure of the data extected from the addop web form

type Login

type Login struct {
	Username string `form:"username"`
	Password string `form:"password"`
	Page     string `form:"page"`
}

Login is the structure of the data expected from the login web form

type NewServer

type NewServer struct {
	Release   string `form:"release"`
	AutoStart bool   `form:"autostart"`
	Flavor    string `form:"flavor"`
	GameMode  string `form:"gamemode"`
	Hardcore  bool   `form:"hardcore"`
	MOTD      string `form:"motd"`
	Name      string `form:"name"`
	Page      string `form:"page"`
	PVP       bool   `form:"pvp"`
	StartNow  bool   `form:"startnow"`
	Whitelist bool   `form:"whitelist"`
	WorldType string `form:"worldtype"`
	Seed      string `form:"seed"`
}

NewServer is the expected of the data expected from the new server web form

type WhitelistAdd

type WhitelistAdd struct {
	PlayerName string `form:"playername"`
}

WhitelistAdd is the structure of the data extected from the wehitelist add web form

Jump to

Keyboard shortcuts

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