mysql

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

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

Go to latest
Published: Apr 5, 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
*
*

Jump to

Keyboard shortcuts

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