tlsconfig/example_test.go
2016-02-04 10:56:33 +01:00

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
}