mysql

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(dsn string) checker.Checker

New creates the MySQL checker

Types

type MySQL

type MySQL struct {
	// contains filtered or unexported fields
}

MySQL represents MySQL checker

func (*MySQL) Check

func (m *MySQL) Check(ctx context.Context) (err error)

Check checks MySQL connection

func (*MySQL) Identity

func (m *MySQL) Identity() (string, error)

Identity returns the identity of the checker

Jump to

Keyboard shortcuts

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