package proxyattributes
import "google.golang.org/grpc/internal/proxyattributes"
Package proxyattributes contains functions for getting and setting proxy attributes like the CONNECT address and user info.
Index ¶
Functions ¶
func Set ¶
Set returns a copy of addr with opts set in its attributes.
Types ¶
type Options ¶
Options holds the proxy connection details needed during the CONNECT handshake.
func Get ¶
Get returns the Options for the proxy resolver.Address and a boolean value representing if the attribute is present or not.
Source Files ¶
proxyattributes.go
- Version
- v1.70.0 (latest)
- Published
- Jan 23, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 23 minutes ago –
Tools for package owners.