connectionchecker

package
v2.15.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

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 New

func New(paths *config.Paths) *ConnectionChecker

New creates new ConnectionChecker.

func (*ConnectionChecker) Check

Check checks connection to a service. It returns context cancelation/timeout or driver errors as is.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL