modulepackage
0.0.0-20210404205540-a2c970045e7b
Repository: https://github.com/tonnerre/go-urlconnection.git
Documentation: pkg.go.dev
# Functions
Connect establishes a new connection to the URL, determining the correct handler
to use for the schema.
ConnectContext establishes a new connection to the URL, passing the context down
to the handler and determining the correct handler to use for the schema.
ConnectTimeout establishes a new connection to the URL, waiting at most the
specified timeout for the connection to be established, determining the correct
handler to use for the schema.
RegisterConnectionHandler is used by connection APIs to register their handlers.
SetupEtcd instantiates an etcd connection handler with a new etcd client
configured from the parameters passed.
UseExistingEtcd instantiates an etcd connection handler pointing at a
preconfigured etcd client.
# Interfaces
ConnectionHandler specifies the basic functionality which must be provided by
any connection setup handlers in order to be registered.