package config
import "github.com/ydb-platform/ydb-go-sdk/v3/discovery/config"
Index ¶
Constants ¶
Types ¶
type Config ¶
type Config interface { Endpoint() string Database() string Secure() bool Trace() trace.Discovery // Interval is the frequency of background tasks of ydb endpoints discovery. // If Interval is zero then the DefaultInterval is used. // If Interval is negative, then no background discovery prepared. Interval() time.Duration }
func New ¶
type Option ¶
type Option func(c *config)
func WithDatabase ¶
func WithEndpoint ¶
func WithInterval ¶
func WithSecure ¶
func WithTrace ¶
Source Files ¶
- Version
- v3.10.0
- Published
- Feb 16, 2022
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 1 hour ago –
Tools for package owners.