Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultInterval = time.Minute
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 }
type Option ¶
type Option func(c *config)
func WithDatabase ¶
func WithEndpoint ¶
func WithInterval ¶
func WithSecure ¶
Click to show internal directories.
Click to hide internal directories.