diff options
| author | Shulhan <ms@kilabit.info> | 2025-06-14 19:21:10 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-06-16 22:44:37 +0700 |
| commit | f9478c87f6e8553ce42c5fca91c2fc09f9f50d0f (patch) | |
| tree | cd9e6945cf736853c623f00fdd6b9c48f42955e9 /brokenlinks/options.go | |
| parent | fb9937797a07816fbc8b25fc03893f74bf7c7663 (diff) | |
| download | jarink-f9478c87f6e8553ce42c5fca91c2fc09f9f50d0f.tar.xz | |
brokenlinks: add option "insecure"
The insecure option will allow and not report as error on server with
invalid certificates.
Diffstat (limited to 'brokenlinks/options.go')
| -rw-r--r-- | brokenlinks/options.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/brokenlinks/options.go b/brokenlinks/options.go index 9c4022b..5a73b19 100644 --- a/brokenlinks/options.go +++ b/brokenlinks/options.go @@ -24,6 +24,9 @@ type Options struct { ignoreStatus []int IsVerbose bool + + // Insecure do not report error on server with invalid certificates. + Insecure bool } func (opts *Options) init() (err error) { |
