dialer

package
v1.7.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 7 Imported by: 419

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