mirror of
https://github.com/golang/go.git
synced 2025-12-07 13:50:04 +00:00
Fixes #65954
Change-Id: Ib01c6f47126ce290108b20c07479c82ef17c427c
GitHub-Last-Rev: 34a36ea4bf
GitHub-Pull-Request: golang/go#74840
Reviewed-on: https://go-review.googlesource.com/c/go/+/692237
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
356 B
356 B
The NewMultiHandler function creates a
MultiHandler that invokes all the given Handlers.
Its Enable method reports whether any of the handlers' Enabled methods
return true.
Its Handle, WithAttr and WithGroup methods call the corresponding method
on each of the enabled handlers.