summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxegineering <me@xegineering.eu>2024-10-02 21:53:51 +0200
committerxegineering <me@xegineering.eu>2024-10-02 21:55:24 +0200
commit9c81db35038fa96de6b3fda0695a463bbf69ac01 (patch)
treef68b7d88d284610548fdc254e72d488c1e232784
parentb6fa67af2c4478b99408bf919ba76a38400ee8d6 (diff)
downloadsoundbox-go-9c81db35038fa96de6b3fda0695a463bbf69ac01.tar
soundbox-go-9c81db35038fa96de6b3fda0695a463bbf69ac01.tar.zst
soundbox-go-9c81db35038fa96de6b3fda0695a463bbf69ac01.zip
Rename Port to StreamingPort
It is expected that further ports (maybe for information via HTTP) are added in the future. To keep the public API stable this should be taken into account before the first release.
-rw-r--r--client.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/client.go b/client.go
index 27e5d54..d292908 100644
--- a/client.go
+++ b/client.go
@@ -5,9 +5,9 @@ import (
"net"
)
-// Port is the default network port a soundbox is listening to for incoming
-// audio stream data.
-const Port = 5316
+// StreamingPort is the default network port a soundbox is listening to for
+// incoming audio stream data.
+const StreamingPort = 5316
type Client struct {
HardwareAddr net.HardwareAddr