Documentation ¶
Index ¶
- type Dialer
- func (d Dialer) Dial(network, addr string) (net.Conn, error)
- func (d Dialer) DialContext(ctx context.Context, network, addr string) (net.Conn, error)
- func (d Dialer) DialGRPC(addr string, timeout time.Duration) (net.Conn, error)
- func (d Dialer) DialGRPCContext(ctx context.Context, addr string) (net.Conn, error)
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialer ¶
Dialer connects to a HTTP 1.1 server and performs an h2c upgrade to an HTTP2 connection.
func (Dialer) DialContext ¶
DialContext connects to the address on the named network using the provided context.
Click to show internal directories.
Click to hide internal directories.