Well, because when someone wants to import a new device, I can't change the existing Transport. The docs explicitly say not to change it once it's in use.
Steve On Thu, Dec 8, 2016 at 8:42 AM, Andy Balholm <andybalh...@gmail.com> wrote: > Why not make a tls.Config that trusts all the self-signed certs for all > the different devices, and make one Transport with that config? > > Andy -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.