Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapCredentials ¶
func MapCredentials(credentials Credentials) string
func ReadCredentials ¶
func ReadCredentials() string
Types ¶
type Credentials ¶
type Credentials struct { Username string Password string Host string Port string Database string Sslmode string }
var CredentialsInstance Credentials = ParseCredentials(ReadCredentials())
func ParseCredentials ¶
func ParseCredentials(credentials string) Credentials
Click to show internal directories.
Click to hide internal directories.