Documentation ¶
Overview ¶
Package dial provides types to implement go-hdb custom dialers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialer ¶
type Dialer interface {
DialContext(ctx context.Context, address string, options DialerOptions) (net.Conn, error)
}
The Dialer interface needs to be implemented by custom Dialers. A Dialer for providing a custom driver connection to the database can be set in the driver.Connector object.
var DefaultDialer Dialer = &dialer{}
DefaultDialer is the default driver Dialer implementation.
type DialerOptions ¶
DialerOptions contains optional parameters that might be used by a Dialer.
Click to show internal directories.
Click to hide internal directories.