The ClientAuthType constants are specified here: https://golang.org/pkg/crypto/tls/#ClientAuthType
It's sort of intuitive what they mean, but strangely they are lacking any godocs, unlike the rest of the package. In fact, I think they're the only values that are not documented (other than the protocol version consts, which don't really need docs IMO).
Even tls.Config.ClientAuth only has this for its godoc:
// ClientAuth determines the server's policy for
// TLS Client Authentication. The default is NoClientCert.
which does not explain what the different policies actually do.
Anyway, I was wondering if some clarification could be added as to exactly what these do.
Thanks for considering!
(Apologies that I'm not using the issue template in this case, as this is a minor issue that involves only documentation.)
The ClientAuthType constants are specified here: https://golang.org/pkg/crypto/tls/#ClientAuthType
It's sort of intuitive what they mean, but strangely they are lacking any godocs, unlike the rest of the package. In fact, I think they're the only values that are not documented (other than the protocol version consts, which don't really need docs IMO).
Even tls.Config.ClientAuth only has this for its godoc:
which does not explain what the different policies actually do.
Anyway, I was wondering if some clarification could be added as to exactly what these do.
Thanks for considering!
(Apologies that I'm not using the issue template in this case, as this is a minor issue that involves only documentation.)