package conn
import "github.com/ydb-platform/ydb-go-sdk/v3/internal/conn"
Index ¶
- Constants
- func WithoutWrapping(ctx context.Context) context.Context
- type Config
- type Conn
- type Pessimizer
- type Pool
- type PoolConfig
- type PoolGetter
- type PoolGetterCloser
- type State
Constants ¶
Functions ¶
func WithoutWrapping ¶
Types ¶
type Config ¶
type Config interface { DialTimeout() time.Duration Trace() trace.Driver ConnectionTTL() time.Duration GrpcDialOptions() []grpc.DialOption }
type Conn ¶
type Conn interface { grpc.ClientConnInterface Endpoint() endpoint.Endpoint IsState(states ...State) bool GetState() State SetState(State) State Close(ctx context.Context) error Park(ctx context.Context) error TTL() <-chan time.Time }
func New ¶
type Pessimizer ¶
type Pool ¶
type Pool interface { closer.Closer Pessimizer PoolGetter }
func NewPool ¶
type PoolConfig ¶
type PoolConfig interface { ConnectionTTL() time.Duration GrpcDialOptions() []grpc.DialOption }
type PoolGetter ¶
type PoolGetterCloser ¶
type PoolGetterCloser interface { PoolGetter closer.Closer }
type State ¶
type State int8
func (State) Code ¶
func (State) IsValid ¶
func (State) String ¶
Source Files ¶
config.go conn.go context.go grpc_client_stream.go pool.go state.go
- Version
- v3.11.12
- Published
- Mar 5, 2022
- Platform
- windows/amd64
- Imports
- 16 packages
- Last checked
- 2 seconds ago –
Tools for package owners.