Documentation
¶
Overview ¶
Package secure provides utilities to configure secure transport.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseTLSOptions ¶
ParseTLSOptions returns a slice of TLS configuration to try, based on the sslmode specified in the connection URL The returned slice must contain at least one element. A nil element indicates a no-SSL configuration. It allows a uniform way to specify connections to various backends following the Postgres connection specifications.
Types ¶
Click to show internal directories.
Click to hide internal directories.