0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00
This commit is contained in:
Zack Scholl 2019-11-12 16:44:09 -08:00
parent d24b6e62dd
commit bf8bfbc237
7 changed files with 43 additions and 25 deletions

View file

@ -20,7 +20,7 @@ func main() {
} else if startSend {
c, err := croc.New(croc.Options{
IsSender: true,
SharedSecret: "pass",
SharedSecret: "test1",
RelayAddress: "ws://localhost:8005/ws",
Debug: true,
})
@ -34,7 +34,7 @@ func main() {
} else if startReceive {
c, err := croc.New(croc.Options{
IsSender: false,
SharedSecret: "pass",
SharedSecret: "test1",
RelayAddress: "ws://localhost:8005/ws",
Debug: true,
})