mirror of
https://github.com/golang/go
synced 2024-11-05 16:16:11 -07:00
6dc6d5718f
Handler is now a function type that mapps to what used to be the Deliver method. The only handler that used other methods was Canceller, for now that still exists as LegacyHooks. Once the handlers are fully cleaned up we should be able to re-implement canceller as handler middleware. Each connection is now only allowed one handler, and it is passed to the Run method, but handlers are composable. Change-Id: I370e0459df851bb9c9c2a679b99cff073b94489e Reviewed-on: https://go-review.googlesource.com/c/tools/+/226479 Run-TryBot: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> |
||
---|---|---|
.. | ||
servertest_test.go | ||
servertest.go |