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
Click to show internal directories.
Click to hide internal directories.