You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
53
+
configuration across multiple handlers.
54
+
55
+
```go
56
+
h:= http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
57
+
w.Header().Set("Content-Type", "text/plain")
58
+
io.WriteString(w, "Your request has an valid signature!")
0 commit comments