URLMux is a URL opener multiplexer. It matches the scheme of the URLs against a set of registered schemes and calls the opener that matches the URL's scheme. See https://gocloud.dev/concepts/urls/ for more information. The zero value is a multiplexer with no registered schemes.
| 850 | // |
| 851 | // The zero value is a multiplexer with no registered schemes. |
| 852 | type URLMux struct { |
| 853 | subscriptionSchemes openurl.SchemeMap |
| 854 | topicSchemes openurl.SchemeMap |
| 855 | } |
| 856 | |
| 857 | // TopicSchemes returns a sorted slice of the registered Topic schemes. |
| 858 | func (mux *URLMux) TopicSchemes() []string { return mux.topicSchemes.Schemes() } |
nothing calls this directly
no outgoing calls
no test coverage detected