package util

import "github.com/nats-io/nats.go/util"

Index

Functions

func CloneTLSConfig

func CloneTLSConfig(c *tls.Config) *tls.Config

CloneTLSConfig returns a copy of c. Only the exported fields are copied. This is temporary, until this is provided by the language. https://go-review.googlesource.com/#/c/28075/

Source Files

tls.go

Version
v1.2.2
Published
Oct 26, 2016
Platform
darwin/amd64
Imports
1 packages
Last checked
22 minutes ago

Tools for package owners.