package proxyattributes

Import Path
	google.golang.org/grpc/internal/proxyattributes (on go.dev)

Dependency Relation
	imports 2 packages, and imported by 2 packages

Involved Source Files Package proxyattributes contains functions for getting and setting proxy attributes like the CONNECT address and user info.
Package-Level Type Names (total 2, in which 1 is exported)
/* sort exporteds by: | */
Options holds the proxy connection details needed during the CONNECT handshake. ConnectAddr string User *url.Userinfo func Get(addr resolver.Address) (Options, bool) func Set(addr resolver.Address, opts Options) resolver.Address
Package-Level Functions (total 2, both are exported)
Get returns the Options for the proxy [resolver.Address] and a boolean value representing if the attribute is present or not. The returned data should not be mutated.
Set returns a copy of addr with opts set in its attributes.
Package-Level Constants (only one, which is unexported)