package dial

import "github.com/ydb-platform/ydb-go-sdk/v3/internal/dial"

Index

Variables

var (
	// DefaultKeepaliveInterval contains default duration between grpc keepalive
	DefaultKeepaliveInterval    = 10 * time.Second
	MinKeepaliveInterval        = 10 * time.Second
	DefaultGRPCMsgSize          = 64 * 1024 * 1024 // 64MB
	DefaultGrpcConnectionPolicy = keepalive.ClientParameters{
		Time:                DefaultKeepaliveInterval,
		Timeout:             MinKeepaliveInterval,
		PermitWithoutStream: true,
	}
)

Functions

func Dial

func Dial(ctx context.Context, c config.Config) (_ public.Cluster, err error)

Dial dials given addr and initializes driver instance on success.

Source Files

cluster.go conn.go dialer.go discovery.go keepalive.go resolver.go

Version
v3.6.2
Published
Jan 10, 2022
Platform
js/wasm
Imports
24 packages
Last checked
40 seconds ago

Tools for package owners.