Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { commontls.Tls ServerName string `json:"serverName" yaml:"serverName" xml:"serverName"` }
func (*Client) GetCredentialsByCA ¶
func (t *Client) GetCredentialsByCA() (credentials.TransportCredentials, error)
func (*Client) GetTLSCredentials ¶
func (t *Client) GetTLSCredentials() (credentials.TransportCredentials, error)
type Server ¶
func (*Server) GetCredentialsByCA ¶
func (t *Server) GetCredentialsByCA() (credentials.TransportCredentials, error)
func (*Server) GetTLSCredentials ¶
func (t *Server) GetTLSCredentials() (credentials.TransportCredentials, error)
Click to show internal directories.
Click to hide internal directories.