mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
works
This commit is contained in:
parent
d24b6e62dd
commit
bf8bfbc237
7 changed files with 43 additions and 25 deletions
4
main.go
4
main.go
|
@ -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,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue