tls

package
v1.22.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2024 License: Zlib Imports: 3 Imported by: 0

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

type Server struct {
	commontls.Tls
}

func (*Server) GetCredentialsByCA

func (t *Server) GetCredentialsByCA() (credentials.TransportCredentials, error)

func (*Server) GetTLSCredentials

func (t *Server) GetTLSCredentials() (credentials.TransportCredentials, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL