Documentation ¶
Index ¶
- type Connector
- type Driver
- type Option
- func With(options ...config.Option) Option
- func WithAccessTokenCredentials(accessToken string) Option
- func WithAnonymousCredentials() Option
- func WithConnectionString(connection string) Option
- func WithCredentials(creds credentials.Credentials) Option
- func WithDatabase(database string) Option
- func WithDefaultExecDataQueryOption(opts ...options.ExecuteDataQueryOption) Option
- func WithDefaultExecScanQueryOption(opts ...options.ExecuteScanQueryOption) Option
- func WithDiscoveryInterval(discoveryInterval time.Duration) Option
- func WithEndpoint(endpoint string) Option
- func WithTraceDriver(t trace.Driver) Option
- func WithTraceTable(t trace.Table) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*connector)
func WithAnonymousCredentials ¶
func WithAnonymousCredentials() Option
func WithConnectionString ¶
func WithCredentials ¶
func WithCredentials(creds credentials.Credentials) Option
func WithDatabase ¶
func WithDefaultExecDataQueryOption ¶
func WithDefaultExecDataQueryOption(opts ...options.ExecuteDataQueryOption) Option
func WithDefaultExecScanQueryOption ¶
func WithDefaultExecScanQueryOption(opts ...options.ExecuteScanQueryOption) Option
func WithDiscoveryInterval ¶
func WithEndpoint ¶
func WithTraceDriver ¶
func WithTraceTable ¶
Click to show internal directories.
Click to hide internal directories.