connconv

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParesClickhouseConnectionURL

func ParesClickhouseConnectionURL(rawurl string) (string, error)

ParesClickhouseConnectionURL returns the mysql connection url for github.com/ClickHouse/clickhouse-go. It accepts a url in `clickhouse://user:pass@host:port/db?query` format. Any other value returns an error.

func ParesMySQLConnectionURL

func ParesMySQLConnectionURL(rawurl string) (string, error)

ParesMySQLConnectionURL returns the mysql connection url for github.com/go-sql-driver/mysql. It accepts a url in `mysql://user:password@host:port/database` format. Any other value returns an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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