Documentation ¶
Overview ¶
Package connectionchecker provides database connection checkers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionChecker ¶
type ConnectionChecker struct {
// contains filtered or unexported fields
}
ConnectionChecker is a struct to check connection to services.
func (*ConnectionChecker) Check ¶
func (cc *ConnectionChecker) Check(ctx context.Context, msg *agentpb.CheckConnectionRequest, id uint32) *agentpb.CheckConnectionResponse
Check checks connection to a service. It returns context cancelation/timeout or driver errors as is.
Click to show internal directories.
Click to hide internal directories.