sni

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: MIT Imports: 5 Imported by: 1

README

sni

Go Report Card GoDoc GitHub license gocover.io

License

Licensed under the MIT License. See LICENSE for the full license text.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound = fmt.Errorf("not found")
)

Functions

func HTTPHost

func HTTPHost(r io.Reader) (string, error)

HTTPHost returns the host from the HTTP header.

func TLSHost

func TLSHost(r io.Reader) (string, error)

TLSHost returns the TLS host

Types

This section is empty.

Jump to

Keyboard shortcuts

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