dialer

package
v1.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2022 License: Apache-2.0 Imports: 7 Imported by: 425

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Dialer = timeoutDialer

Dialer returns a GRPC net.Conn connected to the provided address Deprecated: use ContextDialer and grpc.WithContextDialer.

Functions

func ContextDialer added in v1.2.9

func ContextDialer(ctx context.Context, address string) (net.Conn, error)

ContextDialer returns a GRPC net.Conn connected to the provided address

func DialAddress

func DialAddress(address string) string

DialAddress returns the address with unix:// prepended to the provided address

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL