mysql

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Kind string = "MySQL"

Kind is the type of driver

Variables

This section is empty.

Functions

This section is empty.

Types

type MySQL

type MySQL struct {
	conf.Options `yaml:",inline"`

	ConnStr string `yaml:"conn_str"`
	// contains filtered or unexported fields
}

MySQL is the MySQL client

func New

func New(opt conf.Options) MySQL

New create a Mysql client

func (MySQL) Kind

func (r MySQL) Kind() string

Kind return the name of client

func (MySQL) Probe

func (r MySQL) Probe() (bool, string)

Probe do the health check

Jump to

Keyboard shortcuts

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