type dialResult … // ContextDialer returns a GRPC net.Conn connected to the provided address func ContextDialer(ctx context.Context, address string) (net.Conn, error) { … } var Dialer … func timeoutDialer(address string, timeout time.Duration) (net.Conn, error) { … }