meta

package
v3.0.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "ydb-go-sdk/3.0.1"
)

Variables

This section is empty.

Functions

func WithTraceID

func WithTraceID(ctx context.Context, traceID string) context.Context

WithTraceID returns a copy of parent deadline with traceID

func WithUserAgent

func WithUserAgent(ctx context.Context, userAgent string) context.Context

WithUserAgent returns a copy of parent deadline with custom user-agent info

Types

type Meta

type Meta interface {
	Meta(ctx context.Context) (context.Context, error)
}

func New

func New(
	database string,
	credentials credentials.Credentials,
	trace trace.Driver,
	requestsType string,
) Meta

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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