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. The zero value is a multiplexer with no registered schemes.
| 77 | // |
| 78 | // The zero value is a multiplexer with no registered schemes. |
| 79 | type URLMux struct { |
| 80 | schemes openurl.SchemeMap |
| 81 | } |
| 82 | |
| 83 | // RegisterPostgres registers the opener with the given scheme. If an opener |
| 84 | // already exists for the scheme, RegisterPostgres panics. |
nothing calls this directly
no outgoing calls
no test coverage detected