auto

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: MIT Imports: 6 Imported by: 0

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) Connect

func (c *Client) Connect(hostname, port string) (*clients.Response, error)

Connect connects to a host and grabs the response data

Jump to

Keyboard shortcuts

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