|
@@ -8,16 +8,17 @@ import (
|
|
|
"sync"
|
|
"sync"
|
|
|
"time"
|
|
"time"
|
|
|
|
|
|
|
|
|
|
+ "google.golang.org/grpc"
|
|
|
|
|
+ "google.golang.org/grpc/backoff"
|
|
|
|
|
+ "google.golang.org/grpc/connectivity"
|
|
|
|
|
+ "google.golang.org/grpc/credentials"
|
|
|
|
|
+
|
|
|
"github.com/v2fly/v2ray-core/v4/common"
|
|
"github.com/v2fly/v2ray-core/v4/common"
|
|
|
"github.com/v2fly/v2ray-core/v4/common/net"
|
|
"github.com/v2fly/v2ray-core/v4/common/net"
|
|
|
"github.com/v2fly/v2ray-core/v4/common/session"
|
|
"github.com/v2fly/v2ray-core/v4/common/session"
|
|
|
"github.com/v2fly/v2ray-core/v4/transport/internet"
|
|
"github.com/v2fly/v2ray-core/v4/transport/internet"
|
|
|
"github.com/v2fly/v2ray-core/v4/transport/internet/grpc/encoding"
|
|
"github.com/v2fly/v2ray-core/v4/transport/internet/grpc/encoding"
|
|
|
"github.com/v2fly/v2ray-core/v4/transport/internet/tls"
|
|
"github.com/v2fly/v2ray-core/v4/transport/internet/tls"
|
|
|
- "google.golang.org/grpc"
|
|
|
|
|
- "google.golang.org/grpc/backoff"
|
|
|
|
|
- "google.golang.org/grpc/connectivity"
|
|
|
|
|
- "google.golang.org/grpc/credentials"
|
|
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
func Dial(ctx context.Context, dest net.Destination, streamSettings *internet.MemoryStreamConfig) (internet.Connection, error) {
|
|
func Dial(ctx context.Context, dest net.Destination, streamSettings *internet.MemoryStreamConfig) (internet.Connection, error) {
|