Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DatabaseMiddleware ¶
func DatabaseMiddleware() gin.HandlerFunc
func RegisterRouter ¶
Types ¶
type BroadcastRequest ¶
type BroadcastRequest struct {
Message string `json:"message"`
}
type EmptyResponse ¶
type EmptyResponse struct{}
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error"`
}
type PlayerOrderBy ¶
type PlayerOrderBy string
const ( OrderByLastOnline PlayerOrderBy = "last_online" OrderByLevel PlayerOrderBy = "level" )
type ServerInfo ¶
type ShutdownRequest ¶
type SuccessResponse ¶
type SuccessResponse struct {
Success bool `json:"success"`
}
Click to show internal directories.
Click to hide internal directories.