mysql

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMySQL

func NewMySQL(dsn string) checker.Checker

NewMySQL creates the MySQL checker

Types

type MySQL

type MySQL struct {
	*checker.LogAware
	// contains filtered or unexported fields
}

MySQL represents MySQL checker

func (*MySQL) Check

func (m *MySQL) Check(ctx context.Context) bool

Check checks MySQL connection

Jump to

Keyboard shortcuts

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