adapters

package
v0.0.0-...-09c4d4f Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	USERNAME = "root"
	PASSWORD = "my-secret-pw"
	HOSTNAME = "172.17.0.2:3306"
	SCHEMA   = "test"
)

Variables

This section is empty.

Functions

func ExecQuery

func ExecQuery(db *sql.DB, query string) *sql.Rows

func MysqlConnect

func MysqlConnect(username, password, hostname, dbname string) *sql.DB

func MysqlConnectHS

func MysqlConnectHS(hostname, dbname string) *sql.DB

using hostname and schema from wallet

Types

This section is empty.

Jump to

Keyboard shortcuts

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