github.com/ydb-platform/ydb-go-sdk/v3@v3.57.0/internal/conn/config.go (about)

     1  package conn
     2  
     3  import (
     4  	"time"
     5  
     6  	"google.golang.org/grpc"
     7  
     8  	"github.com/ydb-platform/ydb-go-sdk/v3/trace"
     9  )
    10  
    11  type Config interface {
    12  	DialTimeout() time.Duration
    13  	Trace() *trace.Driver
    14  	ConnectionTTL() time.Duration
    15  	GrpcDialOptions() []grpc.DialOption
    16  }