Versions in this module Expand all Collapse all v3 v3.80.13 Sep 25, 2024 v3.80.12 Sep 24, 2024 Changes in this version + const DefaultPoolMaxSize + const DefaultSessionCreateTimeout + const DefaultSessionDeleteTimeout + type Config struct + func New(opts ...Option) *Config + func (c *Config) LazyTx() bool + func (c *Config) PoolLimit() int + func (c *Config) PoolSessionUsageLimit() uint64 + func (c *Config) SessionCreateTimeout() time.Duration + func (c *Config) SessionDeleteTimeout() time.Duration + func (c *Config) SessionIdleTimeToLive() time.Duration + func (c *Config) Trace() *trace.Query + type Option func(*Config) + func With(config config.Common) Option + func WithLazyTx(lazyTx bool) Option + func WithPoolLimit(size int) Option + func WithPoolSessionUsageLimit(sessionUsageLimit uint64) Option + func WithSessionCreateTimeout(createSessionTimeout time.Duration) Option + func WithSessionDeleteTimeout(deleteTimeout time.Duration) Option + func WithSessionIdleTimeToLive(idleTimeToLive time.Duration) Option + func WithTrace(trace *trace.Query, opts ...trace.QueryComposeOption) Option