Documentation
¶
Index ¶
- type DSN
- func (d *DSN) GetHost() string
- func (d *DSN) GetParam(key string) string
- func (d *DSN) GetParams() map[string]string
- func (d *DSN) GetPassword() string
- func (d *DSN) GetPath() string
- func (d *DSN) GetPort() string
- func (d *DSN) GetRaw() string
- func (d *DSN) GetScheme() string
- func (d *DSN) GetTransport() string
- func (d *DSN) GetUser() string
- func (d *DSN) HasParam(key string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DSN ¶
type DSN struct {
// contains filtered or unexported fields
}
DSN container for data after dsn parsing.
func (*DSN) GetPassword ¶
GetPassword returns a credential password as the string.
func (*DSN) GetRaw ¶
GetRaw returns the dsn in its raw form, as it was passed to the Parse function.
func (*DSN) GetTransport ¶ added in v1.1.0
GetTransport returns a transport as the string.
