Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
AdminOnly = []string{
"/Install",
"/Uninstall",
"/HttpOpen",
"/HttpsOpen",
"/HttpClose",
"/HttpsClose",
"/TcpOpen",
"/TcpClose",
}
)
Functions ¶
func AuthorizedEndpoint ¶
AuthorizedEndpoint reports whether a player with the provided role is allowed to access the provided endpoint
Types ¶
Click to show internal directories.
Click to hide internal directories.