MCPcopy Create free account
hub / github.com/google/go-cloud / URLMux

Struct URLMux

postgres/postgres.go:79–81  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

77//
78// The zero value is a multiplexer with no registered schemes.
79type 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected