Skip to content

Commit 5de0b15

Browse files
committed
Fix line wrapping
1 parent e7ed104 commit 5de0b15

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ and the request path.
3333

3434
### Signing HTTP Requests in Clients
3535

36-
To sign HTTP requests from a client, wrap an `http.Client`'s transport with `NewSignTransport`:
36+
To sign HTTP requests from a client, wrap an `http.Client`'s transport with
37+
`NewSignTransport`:
3738

3839
```go
3940
client := http.Client{
@@ -58,8 +59,9 @@ defer resp.Body.Close()
5859

5960
### Verifying HTTP Requests in Servers
6061

61-
To verify HTTP requests on the server, wrap the `http.Handler`s you wish to protect with `NewVerifyMiddleware`. `NewVerifyMiddleware` returns the wrapping func, so you can reuse
62-
configuration across multiple handlers.
62+
To verify HTTP requests on the server, wrap the `http.Handler`s you wish to
63+
protect with `NewVerifyMiddleware`. `NewVerifyMiddleware` returns the wrapping
64+
func, so you can reuse configuration across multiple handlers.
6365

6466
```go
6567
h := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {

0 commit comments

Comments
 (0)