Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CATLS ¶
func CATLS() credentials.TransportCredentials
server端tls.Config设置ClientAuth和ClientCAs,client端tls.Config设置ServerName和RootCAs
func TLS ¶
func TLS() credentials.TransportCredentials
server端调用NewServerTLSFromFile,client端调用NewClientTLSFromFile
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.