Browse Source
Now service exit when: - Domain name instead IP address used as an argument with `-d` key. - Port number greater than 65535 IPv4 max port numbers (unsigned 16 bit int) - When an endpoint specified by IP:port argumentmain
3 changed files with 31 additions and 10 deletions
@ -1,5 +1,17 @@ |
|||||||
run: |
run: |
||||||
go run src/main.go -p 5053 -d "127.0.0.1:5059"
|
go run src/main.go -p 5053 -d "127.0.0.1:5059"
|
||||||
|
|
||||||
|
test-ip: |
||||||
|
go run src/main.go -p 5053 -d "127.0.0.1:5059,localhost:5059"
|
||||||
|
|
||||||
|
test-port: |
||||||
|
go run src/main.go -p 5053 -d "127.0.0.1:5059,127.0.0.1:as"
|
||||||
|
|
||||||
|
test-port-max: |
||||||
|
go run src/main.go -p 5053 -d "127.0.0.1:5059,127.0.0.1:65537"
|
||||||
|
|
||||||
|
test-port-endpoint: |
||||||
|
go run src/main.go -p 5053 -d "127.0.0.1:9001/bid_request"
|
||||||
|
|
||||||
build: |
build: |
||||||
go build -o bin/simple-choose-ad src/main.go
|
go build -o bin/simple-choose-ad src/main.go
|
||||||
|
Loading…
Reference in new issue