aboutsummaryrefslogtreecommitdiff
path: root/proxy.go
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2021-09-13 10:45:59 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2021-09-13 10:45:59 +0200
commit9f5a9f807766453fbebb1e8a2f1045a040db0635 (patch)
treee4de43dea2c31cc95ae7e8e8fe88c67ceacfeabb /proxy.go
parent1c3e21ace6a197f3b083c5bb3b4a0c4a8c914783 (diff)
Parenthesise protocol constants (anon5)
Diffstat (limited to 'proxy.go')
-rw-r--r--proxy.go14
1 files changed, 8 insertions, 6 deletions
diff --git a/proxy.go b/proxy.go
index c3da9d4..cde7cee 100644
--- a/proxy.go
+++ b/proxy.go
@@ -4,9 +4,11 @@ It also provides an API for plugins.
*/
package proxy
-const latestSerializeVer = 28
-const latestProtoVer = 39
-const versionString = "5.5.0-dev-83a7b48bb"
-const maxPlayerNameLen = 20
-const playerNameChars = "^[a-zA-Z0-9-_]+$"
-const bytesPerMediaBunch = 5000
+const (
+ latestSerializeVer = 28
+ latestProtoVer = 39
+ versionString = "5.5.0-dev-83a7b48bb"
+ maxPlayerNameLen = 20
+ playerNameChars = "^[a-zA-Z0-9-_]+$"
+ bytesPerMediaBunch = 5000
+)