made tutorial outputs more presentable (#555)
Closes https://github.com/ooni/probe/issues/1831
This commit is contained in:
committed by
GitHub
parent
a9319142f3
commit
3f0da81bf8
@@ -458,19 +458,19 @@ Here are some suggestions for follow up measurements:
|
||||
1. provoke a connect error by using:
|
||||
|
||||
```
|
||||
go run -race ./internal/tutorial/measurex/chapter06 -address 127.0.0.1:1
|
||||
go run -race ./internal/tutorial/measurex/chapter06 -address 127.0.0.1:1 | jq
|
||||
```
|
||||
|
||||
2. provoke a TLS handshake error by using:
|
||||
|
||||
```
|
||||
go run -race ./internal/tutorial/measurex/chapter06 -sni example.com
|
||||
go run -race ./internal/tutorial/measurex/chapter06 -sni example.com | jq
|
||||
```
|
||||
|
||||
3. provoke an HTTP round trip error by using:
|
||||
|
||||
```
|
||||
go run -race ./internal/tutorial/measurex/chapter06 -address 8.8.8.8:853
|
||||
go run -race ./internal/tutorial/measurex/chapter06 -address 8.8.8.8:853 | jq
|
||||
```
|
||||
|
||||
4. modify the code to fetch an HTTP endpoint instead (hint: you
|
||||
|
||||
@@ -459,19 +459,19 @@ func main() {
|
||||
// 1. provoke a connect error by using:
|
||||
//
|
||||
// ```
|
||||
// go run -race ./internal/tutorial/measurex/chapter06 -address 127.0.0.1:1
|
||||
// go run -race ./internal/tutorial/measurex/chapter06 -address 127.0.0.1:1 | jq
|
||||
// ```
|
||||
//
|
||||
// 2. provoke a TLS handshake error by using:
|
||||
//
|
||||
// ```
|
||||
// go run -race ./internal/tutorial/measurex/chapter06 -sni example.com
|
||||
// go run -race ./internal/tutorial/measurex/chapter06 -sni example.com | jq
|
||||
// ```
|
||||
//
|
||||
// 3. provoke an HTTP round trip error by using:
|
||||
//
|
||||
// ```
|
||||
// go run -race ./internal/tutorial/measurex/chapter06 -address 8.8.8.8:853
|
||||
// go run -race ./internal/tutorial/measurex/chapter06 -address 8.8.8.8:853 | jq
|
||||
// ```
|
||||
//
|
||||
// 4. modify the code to fetch an HTTP endpoint instead (hint: you
|
||||
|
||||
Reference in New Issue
Block a user