package config
import "github.com/ydb-platform/ydb-go-sdk/v3/internal/scheme/config"
Index ¶
- type Config
- func New(opts ...Option) Config
- func (c Config) Database() string
- func (c Config) Trace() trace.Scheme
- type Option
Types ¶
type Config ¶
Config is a configuration of scheme client
func New ¶
func (Config) Database ¶
Database returns database name
func (Config) Trace ¶
Trace returns trace over scheme client calls
type Option ¶
type Option func(c *Config)
func With ¶
With applies common configuration params
func WithDatabaseName ¶
WithDatabaseName applies database name
func WithTrace ¶
func WithTrace(trace trace.Scheme, opts ...trace.SchemeComposeOption) Option
WithTrace appends scheme trace to early defined traces
Source Files ¶
- Version
- v3.47.0
- Published
- May 12, 2023
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 1 minute ago –
Tools for package owners.