Thanks to visit codestin.com
Credit goes to github.com

Skip to content

v2.0.0

Latest

Choose a tag to compare

@knadh knadh released this 29 Mar 11:30
· 2 commits to master since this release

This is a major breaking version that changes the Opt.SSL bool to concrete SSL types.

// SSLType is the type of SSL connection to use.
type SSLType uint8

const (
	// SSLNone specifies a plain unencrypted connection.
	SSLNone SSLType = iota

	// SSLTLS specifies an SSL (TLS) connection without the STARTTLS extension.
	SSLTLS

	// SSLSTARTTLS specifies a non-TLS connection that then upgrades to STARTTLS.
	SSLSTARTTLS
)

Full Changelog: v1.3.0...v2.0.0