parsedsn

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2017 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package parsedsn provides functions to parse any kind of DSNs into a map[string]string

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MySQL

func MySQL(dsn string) (m map[string]string, err error)

MySQL parses a mysql-type dsn into a map

func Postgres

func Postgres(dsn string) (map[string]string, error)

Postgres parses a postgres-type dsn into a map

Types

This section is empty.

Directories

Path Synopsis
Package mysql is the minimal fork of go-sql-driver/mysql so we can use their code to parse the mysql DSNs
Package mysql is the minimal fork of go-sql-driver/mysql so we can use their code to parse the mysql DSNs
Package pq is the minimal fork of lib/pq so we can use their code to parse the postgres DSNs
Package pq is the minimal fork of lib/pq so we can use their code to parse the postgres DSNs

Jump to

Keyboard shortcuts

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