mirror of
https://github.com/foomo/tlsconfig.git
synced 2025-10-16 12:45:36 +00:00
15 lines
327 B
Go
15 lines
327 B
Go
package tlsconfig_test
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/foomo/tlsconfig"
|
|
|
|
//"github.com/golang/example/stringutil"
|
|
)
|
|
|
|
func ExampleNewServerTLSConfig_strict() {
|
|
fmt.Println("strict InsecureSkipVerify", tlsconfig.NewServerTLSConfig(tlsconfig.TLSModeServerStrict).InsecureSkipVerify)
|
|
// Output: strict InsecureSkipVerify false
|
|
}
|