whoisquery

package
v0.56.4 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: GPL-3.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Source        string
	Timeout       web.Duration `yaml:"timeout"`
	DaysUntilWarn int64        `yaml:"days_until_expiration_warning"`
	DaysUntilCrit int64        `yaml:"days_until_expiration_critical"`
}

type WhoisQuery

type WhoisQuery struct {
	module.Base
	Config `yaml:",inline"`
	// contains filtered or unexported fields
}

func New

func New() *WhoisQuery

func (*WhoisQuery) Charts

func (w *WhoisQuery) Charts() *module.Charts

func (*WhoisQuery) Check

func (w *WhoisQuery) Check() bool

func (*WhoisQuery) Cleanup

func (w *WhoisQuery) Cleanup()

func (*WhoisQuery) Collect

func (w *WhoisQuery) Collect() map[string]int64

func (*WhoisQuery) Init

func (w *WhoisQuery) Init() bool

Jump to

Keyboard shortcuts

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