client

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package client provides the client interface for 'tlsinfo'

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTLSInfo

func GetTLSInfo(ctx context.Context, conn *proxy.Conn, request TLSInfoRequest) ([]*pb.GetTLSCertificateManyResponse, error)

Types

type TLSInfoRequest

type TLSInfoRequest struct {
	ServerAddress      string // Server address including port (e.g. "example.com:443")
	ServerName         string // Server Name Indication (SNI) used in the TLS handshake
	InsecureSkipVerify bool   // If true, will skip TLS server cert verfication
}

Jump to

Keyboard shortcuts

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