mirror of
https://github.com/statbate/animated-sniffle.git
synced 2026-08-11 02:12:41 +00:00
update
This commit is contained in:
commit
fec669ea34
10 changed files with 967 additions and 0 deletions
22
test/main.go
Normal file
22
test/main.go
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
"fmt"
|
||||
"net/url"
|
||||
)
|
||||
|
||||
func main() {
|
||||
if len(os.Args) < 4 {
|
||||
fmt.Println("./test room server proxy")
|
||||
return
|
||||
}
|
||||
|
||||
room := os.Args[1]
|
||||
server := os.Args[2]
|
||||
proxy := os.Args[3]
|
||||
|
||||
u := url.URL{Scheme: "wss", Host: server + ".bcccdn.com", Path: "/websocket"}
|
||||
|
||||
startRoom(room, server, proxy, u)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue