gconnectstring

package
v0.0.0-...-f3abbe6 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectInfo

type ConnectInfo struct {
	Host     string // host without port (e.g. localhost) or path to unix domain socket directory (e.g. /private/tmp)
	Port     uint16
	Database string
	User     string
	Password string
	Options  map[string]string
}

func Parse

func Parse(dvr Driver, s string) (*ConnectInfo, error)

func (*ConnectInfo) Build

func (ci *ConnectInfo) Build(dvr Driver) (string, error)

Jump to

Keyboard shortcuts

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