Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PGUrl ¶
PGUrl returns a postgres connection url which connects to this server with the given user. Returns a connection string and a cleanup function which must be called after any connection created using the string has been closed.
In order to connect securely using postgres, this method will create temporary on-disk copies of certain embedded security certificates. The certificates will be created as temporary files in the provided directory, and their filenames will have the provided prefix. The returned cleanup function will delete these temporary files.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.