certcheck

command
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

README

certcheck

import "github.com/imarsman/certcheck/cmd/certcheck"

Package main parses command line arguments and uses the hosts package to do TLS lookups.

Index

func main

func main()

Entry point for app

type args

CLI args

type args struct {
    Hosts      []string `arg:"positional" help:"host:port list to check"`
    Timeout    int      `arg:"-t" default:"10" help:"connection timeout seconds"`
    WarnAtDays int      `arg:"-w" placeholder:"WARNAT" default:"30" help:"warn if expiry before days"`
    YAML       bool     `arg:"-y" help:"display output as YAML"`
    JSON       bool     `arg:"-j" help:"display output as JSON (default)"`
}

Generated by gomarkdoc

Documentation

Overview

Package main parses command line arguments and uses the hosts package to do TLS lookups.

Jump to

Keyboard shortcuts

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