inspect

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(opts ...Option) error

Run executes TLS or DNS inspection.

func TLSVersionString

func TLSVersionString(v uint16) string

TLSVersionString converts a TLS version number to a human-readable string.

Types

type Config

type Config struct {
	Mode   string
	Port   string
	Host   string
	Stdout io.Writer
}

Config holds configuration for the inspect command.

type Option

type Option func(*Config)

Option configures a Config.

func WithHost

func WithHost(host string) Option

func WithMode

func WithMode(mode string) Option

func WithPort

func WithPort(port string) Option

func WithStdout

func WithStdout(w io.Writer) Option

Jump to

Keyboard shortcuts

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