Added messages

This commit is contained in:
2025-07-25 16:20:12 +03:00
parent 6d1569ecac
commit 0f6fec9d8d
2 changed files with 20 additions and 8 deletions
+9
View File
@@ -21,6 +21,9 @@ messages:
CLOSE:
SUCCESS: "Disconnected from WebSocket.\n"
ERROR: "Could not close WebSocket connection.\n %v\n\n"
CLOSE_MESSAGE:
SUCCESS: "Sent close message to WebSocket.\n"
ERROR: "Could not send close message to WebSocket.\n %v\n\n"
REGISTER:
SUCCESS: "Registered to WebSocket.\n"
ERROR: "Could not send register message.\n %v\n\n"
@@ -47,6 +50,9 @@ messages:
NEW:
SUCCESS: "Created WebRTC instance.\n"
ERROR: "Could not create WebRTC instance.\n %v\n\n"
CLOSE:
SUCCESS: "Closed P2P connection.\n"
ERROR: "Could not close P2P connection.\n %v\n\n"
OFFER:
SUCCESS: "Created offer.\n"
ERROR: "Could not create offer.\n %v\n\n"
@@ -78,6 +84,9 @@ messages:
WRITE:
SUCCESS: "Wrote HTTP response.\n"
ERROR: "Could not write HTTP response.\n %v\n\n"
URL_PARSE:
SUCCESS: "Updated Location header port.\n"
ERROR: "Could not update Location header port.\n %v\n\n"
GOB:
ENCODE:
SUCCESS: "Encoded struct to buffer.\n"