mysql

package
v5.0.0-alpha2+incompat... Latest Latest
Warning

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

Go to latest
Published: May 2, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Helper functions for testing used in the mysql metricsets

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(dsn string) (*sql.DB, error)

Connect expects a full mysql dsn Example: [username[:password]@][protocol[(address)]]/

func CreateDSN

func CreateDSN(host string, username string, password string) string

CreateDSN creates a dsn string out of hostname, username and password

func GetMySQLEnvDSN

func GetMySQLEnvDSN() string

func New

func New() helper.Moduler

New creates new instance of Moduler

Types

type Moduler

type Moduler struct{}

func (*Moduler) Setup

func (m *Moduler) Setup(mo *helper.Module) error

Directories

Path Synopsis
* Fetch status information from mysql: http://dev.mysql.com/doc/refman/5.7/en/show-status.html TODO @ruflin, 20160315 * Complete fields read * Complete template * Complete dashboards
* Fetch status information from mysql: http://dev.mysql.com/doc/refman/5.7/en/show-status.html TODO @ruflin, 20160315 * Complete fields read * Complete template * Complete dashboards

Jump to

Keyboard shortcuts

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