package ydb
import "github.com/ydb-platform/ydb-go-sdk/v3"
Example (DatabaseSQL)¶
Code:play
package main import ( "context" "database/sql" "log" "github.com/ydb-platform/ydb-go-sdk/v3/retry" ) func main() { db, err := sql.Open("ydb", "grpcs://localhost:2135/local") if err != nil { log.Fatal(err) } defer func() { _ = db.Close() }() // cleanup resources var ( query = `SELECT 42 as id, "my string" as myStr` id int32 // required value myStr string // optional value ) err = retry.DoTx(context.TODO(), db, func(ctx context.Context, tx *sql.Tx) error { row := tx.QueryRowContext(ctx, query) if err = row.Scan(&id, &myStr); err != nil { return err } log.Printf("id=%v, myStr='%s'\n", id, myStr) return nil }, retry.WithDoTxRetryOptions(retry.WithIdempotent(true))) if err != nil { log.Printf("query failed: %v", err) } }
Example (DatabaseSql)¶
Code:play
package main
import (
"context"
"database/sql"
"log"
)
func main() {
db, err := sql.Open("ydb", "grpcs://localhost:2135/local")
if err != nil {
log.Fatal(err)
}
defer db.Close() // cleanup resources
var (
id int32
myStr string
)
row := db.QueryRowContext(context.TODO(), `SELECT 42 as id, "my string" as myStr`)
if err = row.Scan(&id, &myStr); err != nil {
log.Printf("select failed: %v", err)
return
}
log.Printf("id = %d, myStr = \"%s\"", id, myStr)
}
Example (Discovery)¶
Code:
{
ctx := context.TODO()
db, err := ydb.Open(ctx, "grpcs://localhost:2135/local")
if err != nil {
fmt.Printf("failed to connect: %v", err)
return
}
defer db.Close(ctx) // cleanup resources
endpoints, err := db.Discovery().Discover(ctx)
if err != nil {
fmt.Printf("discover failed: %v", err)
return
}
fmt.Printf("%s endpoints:\n", db.Name())
for i, e := range endpoints {
fmt.Printf("%d) %s\n", i, e.String())
}
}
Example (Scripting)¶
Code:
{ ctx := context.TODO() db, err := ydb.Open(ctx, "grpcs://localhost:2135/local") if err != nil { fmt.Printf("failed to connect: %v", err) return } defer db.Close(ctx) // cleanup resources if err = retry.Retry(ctx, func(ctx context.Context) (err error) { res, err := db.Scripting().Execute( ctx, "SELECT 1+1", table.NewQueryParameters(), ) if err != nil { return err } defer res.Close() // cleanup resources if !res.NextResultSet(ctx) { return retry.RetryableError( fmt.Errorf("no result sets"), retry.WithBackoff(retry.TypeNoBackoff), ) } if !res.NextRow() { return retry.RetryableError( fmt.Errorf("no rows"), retry.WithBackoff(retry.TypeSlowBackoff), ) } var sum int32 if err = res.Scan(&sum); err != nil { return fmt.Errorf("scan failed: %w", err) } if sum != 2 { return fmt.Errorf("unexpected sum: %v", sum) } return res.Err() }, retry.WithIdempotent(true)); err != nil { fmt.Printf("Execute failed: %v", err) } }
Example (Table)¶
Code:
{ ctx := context.TODO() db, err := ydb.Open(ctx, "grpcs://localhost:2135/local") if err != nil { log.Fatal(err) } defer db.Close(ctx) // cleanup resources var ( query = `SELECT 42 as id, "my string" as myStr` id int32 // required value myStr string // optional value ) err = db.Table().Do( // Do retry operation on errors with best effort ctx, // context manage exiting from Do func(ctx context.Context, s table.Session) (err error) { // retry operation _, res, err := s.Execute(ctx, table.DefaultTxControl(), query, nil) if err != nil { return err // for auto-retry with driver } defer res.Close() // cleanup resources if err = res.NextResultSetErr(ctx); err != nil { // check single result set and switch to it return err // for auto-retry with driver } for res.NextRow() { // iterate over rows err = res.ScanNamed( named.Required("id", &id), named.OptionalWithDefault("myStr", &myStr), ) if err != nil { return err // generally scan error not retryable, return it for driver check error } log.Printf("id=%v, myStr='%s'\n", id, myStr) } return res.Err() // return finally result error for auto-retry with driver }, ) if err != nil { log.Printf("unexpected error: %v", err) } }
Example (Topic)¶
Code:
{
ctx := context.TODO()
db, err := ydb.Open(ctx, "grpcs://localhost:2135/local")
if err != nil {
fmt.Printf("failed connect: %v", err)
return
}
defer db.Close(ctx) // cleanup resources
reader, err := db.Topic().StartReader("consumer", topicoptions.ReadTopic("/topic/path"))
if err != nil {
fmt.Printf("failed start reader: %v", err)
return
}
for {
mess, err := reader.ReadMessage(ctx)
if err != nil {
fmt.Printf("failed start reader: %v", err)
return
}
content, err := ioutil.ReadAll(mess)
if err != nil {
fmt.Printf("failed start reader: %v", err)
return
}
fmt.Println(string(content))
}
}
Index ¶
- Constants
- func Connector(db Connection, opts ...ConnectorOption) (*xsql.Connector, error)
- func GRPCConn(conn Connection) grpc.ClientConnInterface
- func IsOperationError(err error, codes ...Ydb.StatusIds_StatusCode) bool
- func IsOperationErrorAlreadyExistsError(err error) bool
- func IsOperationErrorNotFoundError(err error) bool
- func IsOperationErrorOverloaded(err error) bool
- func IsOperationErrorSchemeError(err error) bool
- func IsOperationErrorUnavailable(err error) bool
- func IsRatelimiterAcquireError(err error) bool
- func IsTimeoutError(err error) bool
- func IsTransportError(err error, codes ...grpcCodes.Code) bool
- func IsYdbError(err error) bool
- func IterateByIssues(err error, it func(message string, code Ydb.StatusIds_StatusCode, severity uint32))
- func ToRatelimiterAcquireError(err error) ratelimiter.AcquireError
- func WithOperationCancelAfter(ctx context.Context, operationCancelAfter time.Duration) context.Context
- func WithOperationTimeout(ctx context.Context, operationTimeout time.Duration) context.Context
- func WithQueryMode(ctx context.Context, mode QueryMode) context.Context
- func WithRequestType(ctx context.Context, requestType string) context.Context
- func WithTraceID(ctx context.Context, traceID string) context.Context
- func WithTxControl(ctx context.Context, txc *table.TransactionControl) context.Context
- type Connection
- func New(ctx context.Context, opts ...Option) (_ Connection, err error)
- func Open(ctx context.Context, dsn string, opts ...Option) (_ Connection, err error)
- func Unwrap[T *sql.DB | *sql.Conn](v T) (Connection, error)
- type ConnectorOption
- func WithDatabaseSQLTrace(t trace.DatabaseSQL, opts ...trace.DatabaseSQLComposeOption) ConnectorOption
- func WithDefaultDataQueryOptions(opts ...options.ExecuteDataQueryOption) ConnectorOption
- func WithDefaultQueryMode(mode QueryMode) ConnectorOption
- func WithDefaultScanQueryOptions(opts ...options.ExecuteScanQueryOption) ConnectorOption
- func WithDefaultTxControl(txControl *table.TransactionControl) ConnectorOption
- type Error
- type LoggerOption
- func WithColoring() LoggerOption
- func WithErrWriter(err io.Writer) LoggerOption
- func WithExternalLogger(external log.Logger) LoggerOption
- func WithMinLevel(minLevel log.Level) LoggerOption
- func WithNamespace(namespace string) LoggerOption
- func WithNoColor(b bool) LoggerOption
- func WithOutWriter(out io.Writer) LoggerOption
- type Option
- func MergeOptions(opts ...Option) Option
- func With(options ...config.Option) Option
- func WithAccessTokenCredentials(accessToken string) Option
- func WithAnonymousCredentials() Option
- func WithBalancer(balancer *balancerConfig.Config) Option
- func WithCertificate(cert *x509.Certificate) Option
- func WithCertificatesFromFile(caFile string, opts ...certificates.FromFileOption) Option
- func WithCertificatesFromPem(bytes []byte, opts ...certificates.FromPemOption) Option
- func WithConnectionString(connectionString string) Option
- func WithConnectionTTL(ttl time.Duration) Option
- func WithCreateCredentialsFunc(createCredentials func(ctx context.Context) (credentials.Credentials, error)) Option
- func WithCredentials(c credentials.Credentials) Option
- func WithDatabase(database string) Option
- func WithDialTimeout(timeout time.Duration) Option
- func WithDiscoveryInterval(discoveryInterval time.Duration) Option
- func WithEndpoint(endpoint string) Option
- func WithIgnoreTruncated() Option
- func WithInsecure() Option
- func WithLogger(details trace.Details, opts ...LoggerOption) Option
- func WithMinTLSVersion(minVersion uint16) Option
- func WithPanicCallback(panicCallback func(e interface{})) Option
- func WithRatelimiterOptions(opts ...ratelimiterConfig.Option) Option
- func WithRequestsType(requestsType string) Option
- func WithSecure(secure bool) Option
- func WithSessionPoolCreateSessionTimeout(createSessionTimeout time.Duration) Option
- func WithSessionPoolDeleteTimeout(deleteTimeout time.Duration) Option
- func WithSessionPoolIdleThreshold(idleThreshold time.Duration) Option
- func WithSessionPoolKeepAliveMinSize(keepAliveMinSize int) Option
- func WithSessionPoolKeepAliveTimeout(keepAliveTimeout time.Duration) Option
- func WithSessionPoolSizeLimit(sizeLimit int) Option
- func WithStaticCredentials(user, password string) Option
- func WithTLSConfig(tlsConfig *tls.Config) Option
- func WithTLSSInsecureSkipVerify() Option
- func WithTableConfigOption(option tableConfig.Option) Option
- func WithTraceCoordination(t trace.Coordination, opts ...trace.CoordinationComposeOption) Option
- func WithTraceDatabaseSQL(t trace.DatabaseSQL, opts ...trace.DatabaseSQLComposeOption) Option
- func WithTraceDiscovery(t trace.Discovery, opts ...trace.DiscoveryComposeOption) Option
- func WithTraceDriver(trace trace.Driver, opts ...trace.DriverComposeOption) Option
- func WithTraceRatelimiter(t trace.Ratelimiter, opts ...trace.RatelimiterComposeOption) Option
- func WithTraceScheme(t trace.Scheme, opts ...trace.SchemeComposeOption) Option
- func WithTraceScripting(t trace.Scripting, opts ...trace.ScriptingComposeOption) Option
- func WithTraceTable(t trace.Table, opts ...trace.TableComposeOption) Option
- func WithTraceTopic(t trace.Topic, opts ...trace.TopicComposeOption) Option
- func WithUserAgent(userAgent string) Option
- type QueryMode
Examples ¶
- package (DatabaseSQL)
- package (DatabaseSql)
- package (Discovery)
- package (Scripting)
- package (Table)
- package (Topic)
- Open
- Open (Advanced)
Constants ¶
const ( DataQueryMode = xsql.DataQueryMode ExplainQueryMode = xsql.ExplainQueryMode ScanQueryMode = xsql.ScanQueryMode SchemeQueryMode = xsql.SchemeQueryMode ScriptingQueryMode = xsql.ScriptingQueryMode )
Version reports current version of sdk
Functions ¶
func Connector ¶
func Connector(db Connection, opts ...ConnectorOption) (*xsql.Connector, error)
func GRPCConn ¶
func GRPCConn(conn Connection) grpc.ClientConnInterface
GRPCConn casts ydb.Connection to grpc.ClientConnInterface for executing unary and streaming RPC over internal driver balancer.
Warning: for connect to driver-unsupported YDB services
func IsOperationError ¶
func IsOperationError(err error, codes ...Ydb.StatusIds_StatusCode) bool
IsOperationError reports whether any error is an operation error with one of passed codes. If codes not defined IsOperationError returns true on error is an operation error.
func IsOperationErrorAlreadyExistsError ¶
IsOperationErrorAlreadyExistsError checks whether given err is an operation error with code AlreadyExistsError
func IsOperationErrorNotFoundError ¶
IsOperationErrorNotFoundError checks whether given err is an operation error with code NotFoundError
func IsOperationErrorOverloaded ¶
IsOperationErrorOverloaded checks whether given err is an operation error with code Overloaded
func IsOperationErrorSchemeError ¶
IsOperationErrorSchemeError checks whether given err is an operation error with code SchemeError
func IsOperationErrorUnavailable ¶
IsOperationErrorUnavailable checks whether given err is an operation error with code Unavailable
func IsRatelimiterAcquireError ¶
IsRatelimiterAcquireError checks whether given err is an ratelimiter acquire error
func IsTimeoutError ¶
IsTimeoutError checks whether given err is a some timeout error (context, transport or operation).
func IsTransportError ¶
IsTransportError checks whether given err is a transport (grpc) error.
func IsYdbError ¶
IsYdbError reports when given error is and ydb error (transport, operation or internal driver error)
func IterateByIssues ¶
func IterateByIssues(err error, it func(message string, code Ydb.StatusIds_StatusCode, severity uint32))
IterateByIssues helps to iterate over internal issues of operation error.
func ToRatelimiterAcquireError ¶
func ToRatelimiterAcquireError(err error) ratelimiter.AcquireError
ToRatelimiterAcquireError casts given err to ratelimiter.AcquireError. If given err is not ratelimiter acquire error - returns nil
func WithOperationCancelAfter ¶
func WithOperationCancelAfter(ctx context.Context, operationCancelAfter time.Duration) context.Context
WithOperationCancelAfter returns a copy of parent context in which YDB operation cancel after parameter is set to d. If parent context cancellation timeout is smaller than d, parent context is returned.
func WithOperationTimeout ¶
WithOperationTimeout returns a copy of parent context in which YDB operation timeout parameter is set to d. If parent context timeout is smaller than d, parent context is returned.
func WithQueryMode ¶
func WithRequestType ¶
WithRequestType returns a copy of parent context with custom request type
func WithTraceID ¶
WithTraceID returns a copy of parent context with traceID
func WithTxControl ¶
Types ¶
type Connection ¶
type Connection interface { // Endpoint returns initial endpoint Endpoint() string // Name returns database name Name() string // Secure returns true if database connection is secure Secure() bool // Close closes connection and clear resources Close(ctx context.Context) error // Table returns table client Table() table.Client // Scheme returns scheme client Scheme() scheme.Client // Coordination returns coordination client Coordination() coordination.Client // Ratelimiter returns ratelimiter client Ratelimiter() ratelimiter.Client // Discovery returns discovery client Discovery() discovery.Client // Scripting returns scripting client Scripting() scripting.Client // Topic returns topic client Topic() topic.Client // With makes child connection with the same options and another options With(ctx context.Context, opts ...Option) (Connection, error) }
Connection interface provide access to YDB service clients Interface and list of clients may be changed in the future
This interface is central part for access to various systems embedded to ydb through one configured connection method.
func New ¶
func New(ctx context.Context, opts ...Option) (_ Connection, err error)
New connects to database and return driver runtime holder
Deprecated: use Open with required param connectionString instead
func Open ¶
Open connects to database by DSN and return driver runtime holder
DSN accept connection string like
"grpc[s]://{endpoint}/{database}[?param=value]"
See sugar.DSN helper for make dsn from endpoint and database
Code:
Code:
Example¶
{
ctx := context.TODO()
db, err := ydb.Open(ctx, "grpc://localhost:2135/local")
if err != nil {
fmt.Printf("connection failed: %v", err)
}
defer db.Close(ctx) // cleanup resources
fmt.Printf("connected to %s, database '%s'", db.Endpoint(), db.Name())
}
Example (Advanced)¶
{
ctx := context.TODO()
db, err := ydb.Open(
ctx,
"grpc://localhost:2135/local",
ydb.WithAnonymousCredentials(),
ydb.WithBalancer(
balancers.PreferLocationsWithFallback(
balancers.RandomChoice(), "a", "b",
),
),
ydb.WithSessionPoolSizeLimit(100),
)
if err != nil {
fmt.Printf("connection failed: %v", err)
}
defer db.Close(ctx) // cleanup resources
fmt.Printf("connected to %s, database '%s'", db.Endpoint(), db.Name())
}
func Unwrap ¶
type ConnectorOption ¶
type ConnectorOption = xsql.ConnectorOption
func WithDatabaseSQLTrace ¶
func WithDatabaseSQLTrace(t trace.DatabaseSQL, opts ...trace.DatabaseSQLComposeOption) ConnectorOption
func WithDefaultDataQueryOptions ¶
func WithDefaultDataQueryOptions(opts ...options.ExecuteDataQueryOption) ConnectorOption
func WithDefaultQueryMode ¶
func WithDefaultQueryMode(mode QueryMode) ConnectorOption
func WithDefaultScanQueryOptions ¶
func WithDefaultScanQueryOptions(opts ...options.ExecuteScanQueryOption) ConnectorOption
func WithDefaultTxControl ¶
func WithDefaultTxControl(txControl *table.TransactionControl) ConnectorOption
type Error ¶
type Error interface { error // Code reports the error code Code() int32 // Name reports the short name of error Name() string }
Error is an interface of error which reports about error code and error name.
func OperationError ¶
OperationError returns operation error description. If given err is not an operation error - returns nil.
func TransportError ¶
TransportError checks when given error is a transport error and returns description of transport error.
type LoggerOption ¶
func WithColoring ¶
func WithColoring() LoggerOption
func WithErrWriter ¶
func WithErrWriter(err io.Writer) LoggerOption
func WithExternalLogger ¶
func WithExternalLogger(external log.Logger) LoggerOption
func WithMinLevel ¶
func WithMinLevel(minLevel log.Level) LoggerOption
func WithNamespace ¶
func WithNamespace(namespace string) LoggerOption
func WithNoColor ¶
func WithNoColor(b bool) LoggerOption
WithNoColor specified coloring of log messages
Deprecated: has no effect now, use WithColoring instead
func WithOutWriter ¶
func WithOutWriter(out io.Writer) LoggerOption
type Option ¶
Option contains configuration values for Connection
func MergeOptions ¶
MergeOptions concatentaes provided options to one cumulative value.
func With ¶
With collects additional configuration options. This option does not replace collected option, instead it will append provided options.
func WithAccessTokenCredentials ¶
func WithAnonymousCredentials ¶
func WithAnonymousCredentials() Option
WithAnonymousCredentials force to make requests withou authentication.
func WithBalancer ¶
func WithBalancer(balancer *balancerConfig.Config) Option
func WithCertificate ¶
func WithCertificate(cert *x509.Certificate) Option
WithCertificate appends certificate to TLS config root certificates
func WithCertificatesFromFile ¶
func WithCertificatesFromFile(caFile string, opts ...certificates.FromFileOption) Option
WithCertificatesFromFile appends certificates by filepath to TLS config root certificates
func WithCertificatesFromPem ¶
func WithCertificatesFromPem(bytes []byte, opts ...certificates.FromPemOption) Option
WithCertificatesFromPem appends certificates from pem-encoded data to TLS config root certificates
func WithConnectionString ¶
WithConnectionString accept connection string like
grpc[s]://{endpoint}/{database}[?param=value]
Warning: WithConnectionString will be removed at next major release (connection string will be required string param of ydb.Open)
func WithConnectionTTL ¶
WithConnectionTTL defines duration for parking idle connections
func WithCreateCredentialsFunc ¶
func WithCreateCredentialsFunc(createCredentials func(ctx context.Context) (credentials.Credentials, error)) Option
WithCreateCredentialsFunc add callback funcion to provide requests credentials
func WithCredentials ¶
func WithCredentials(c credentials.Credentials) Option
WithCredentials in conjunction with Connection.With function prohibit reuse of conn pool. Thus, Connection.With will effectively create totally separate Connection.
func WithDatabase ¶
WithDatabase defines database option
Warning: use WithConnectionString or dsn package instead
func WithDialTimeout ¶
WithDialTimeout sets timeout for establishing new connection to cluster
func WithDiscoveryInterval ¶
WithDiscoveryInterval sets interval between cluster discovery calls.
func WithEndpoint ¶
WithEndpoint defines endpoint option
Warning: use WithConnectionString or dsn package instead
func WithIgnoreTruncated ¶
func WithIgnoreTruncated() Option
WithIgnoreTruncated disables errors on truncated flag
func WithInsecure ¶
func WithInsecure() Option
WithInsecure defines secure option.
Warning: WithInsecure lost current TLS config.
func WithLogger ¶
func WithLogger(details trace.Details, opts ...LoggerOption) Option
WithLogger add enables logging for selected tracing events.
See trace package documentation for details.
func WithMinTLSVersion ¶
WithMinTLSVersion set minimum TLS version acceptable for connections
func WithPanicCallback ¶
func WithPanicCallback(panicCallback func(e interface{})) Option
WithPanicCallback specified behavior on panic Warning: WithPanicCallback must be defined on start of all options (before `WithTrace{Driver,Table,Scheme,Scripting,Coordination,Ratelimiter}` and other options) If not defined - panic would not intercept with driver
func WithRatelimiterOptions ¶
func WithRatelimiterOptions(opts ...ratelimiterConfig.Option) Option
WithRatelimiterOptions returns reatelimiter option
func WithRequestsType ¶
func WithSecure ¶
WithSecure defines secure option
Warning: if secure is false - TLS config options has no effect.
func WithSessionPoolCreateSessionTimeout ¶
WithSessionPoolCreateSessionTimeout set timeout for new session creation process in table.Client
func WithSessionPoolDeleteTimeout ¶
WithSessionPoolDeleteTimeout set timeout to gracefully close deleting session in table.Client
func WithSessionPoolIdleThreshold ¶
WithSessionPoolIdleThreshold defines keep-alive interval for idle sessions
func WithSessionPoolKeepAliveMinSize ¶
WithSessionPoolKeepAliveMinSize set minimum sessions should be keeped alive in table.Client
Deprecated: table client do not supports background session keep-aliving now
func WithSessionPoolKeepAliveTimeout ¶
WithSessionPoolKeepAliveTimeout set timeout of keep alive requests for session in table.Client
func WithSessionPoolSizeLimit ¶
WithSessionPoolSizeLimit set max size of internal sessions pool in table.Client
func WithStaticCredentials ¶
func WithTLSConfig ¶
WithTLSConfig replaces older TLS config
Warning: all early TLS config changes (such as WithCertificate, WithCertificatesFromFile, WithCertificatesFromPem, WithMinTLSVersion, WithTLSSInsecureSkipVerify) will be lost
func WithTLSSInsecureSkipVerify ¶
func WithTLSSInsecureSkipVerify() Option
WithTLSSInsecureSkipVerify applies InsecureSkipVerify flag to TLS config
func WithTableConfigOption ¶
func WithTableConfigOption(option tableConfig.Option) Option
WithTableConfigOption collects additional configuration options for table.Client. This option does not replace collected option, instead it will appen provided options.
func WithTraceCoordination ¶
func WithTraceCoordination(t trace.Coordination, opts ...trace.CoordinationComposeOption) Option
WithTraceCoordination returns coordination trace option
func WithTraceDatabaseSQL ¶
func WithTraceDatabaseSQL(t trace.DatabaseSQL, opts ...trace.DatabaseSQLComposeOption) Option
WithTraceDatabaseSQL adds configured discovery tracer to Connection
func WithTraceDiscovery ¶
func WithTraceDiscovery(t trace.Discovery, opts ...trace.DiscoveryComposeOption) Option
WithTraceDiscovery adds configured discovery tracer to Connection
func WithTraceDriver ¶
func WithTraceDriver(trace trace.Driver, opts ...trace.DriverComposeOption) Option
WithTraceDriver returns deadline which has associated Driver with it.
func WithTraceRatelimiter ¶
func WithTraceRatelimiter(t trace.Ratelimiter, opts ...trace.RatelimiterComposeOption) Option
WithTraceRatelimiter returns ratelimiter trace option
func WithTraceScheme ¶
func WithTraceScheme(t trace.Scheme, opts ...trace.SchemeComposeOption) Option
WithTraceScheme returns scheme trace option
func WithTraceScripting ¶
func WithTraceScripting(t trace.Scripting, opts ...trace.ScriptingComposeOption) Option
WithTraceScripting scripting trace option
func WithTraceTable ¶
func WithTraceTable(t trace.Table, opts ...trace.TableComposeOption) Option
WithTraceTable returns table trace option
func WithTraceTopic ¶
func WithTraceTopic(t trace.Topic, opts ...trace.TopicComposeOption) Option
WithTraceTopic adds configured discovery tracer to Connection
func WithUserAgent ¶
WithUserAgent add provided user agent value to all api requests
type QueryMode ¶
Source Files ¶
connection.go context.go errors.go logger_options.go meta.go options.go sql.go sql_unwrap_go1.18.go version.go with.go
Directories ¶
Path | Synopsis |
---|---|
balancers | |
config | |
coordination | |
credentials | |
discovery | |
internal | |
log | |
ratelimiter | |
retry | |
scheme | |
scripting | |
sugar | |
table | |
table/options | |
table/result | |
table/result/indexed | |
table/result/named | |
table/stats | |
table/types | |
testutil | |
testutil/timeutil | |
testutil/timeutil/timetest | |
topic | |
topic/topicoptions | |
topic/topicreader | Package topicreader provide Reader to receive messages from YDB topics More examples in examples repository |
topic/topicsugar | |
topic/topictypes | |
topic/topicwriter | |
trace |
- Version
- v3.39.0-rc8
- Published
- Oct 21, 2022
- Platform
- windows/amd64
- Imports
- 56 packages
- Last checked
- now –
Tools for package owners.