driver

package
v3.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextCallInfo added in v3.2.6

func ContextCallInfo(ctx context.Context) (info callInfo, ok bool)

func New

func New(
	config config.Config,
	meta meta.Meta,
	get func(ctx context.Context) (conn conn.Conn, err error),
	pessimize func(ctx context.Context, endpoint endpoint.Endpoint) error,
	close func(ctx context.Context) error,
) *driver

func WithCallInfo added in v3.2.6

func WithCallInfo(ctx context.Context, info callInfo) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL