auto

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: MIT Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package auto implements an automatic fallback mechanism based tls client which uses both crypto/tls first and zcrypto/tls on tls errors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is a TLS grabbing client using auto fallback

func New

func New(options *clients.Options) (*Client, error)

New creates a new grabbing client using auto fallback

func (*Client) ConnectWithOptions added in v0.0.4

func (c *Client) ConnectWithOptions(hostname, ip, port string, options clients.ConnectOptions) (*clients.Response, error)

Connect connects to a host and grabs the response data

func (*Client) EnumerateCiphers added in v1.0.6

func (c *Client) EnumerateCiphers(hostname, ip, port string, options clients.ConnectOptions) ([]string, error)

func (*Client) SupportedTLSCiphers added in v0.0.6

func (c *Client) SupportedTLSCiphers() ([]string, error)

SupportedTLSCiphers returns the list of supported ciphers by all engines

func (*Client) SupportedTLSVersions added in v0.0.6

func (c *Client) SupportedTLSVersions() ([]string, error)

SupportedTLSVersions returns the list of supported tls versions by all engines

Jump to

Keyboard shortcuts

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