noop

package
v2.0.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package noop defines a No-op metric implementation for the filter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct{}

func New

func New() (metrics *Metrics)

func (*Metrics) HostnamesFilteredInc

func (m *Metrics) HostnamesFilteredInc(qClass, qType string)

func (*Metrics) IPsFilteredInc

func (m *Metrics) IPsFilteredInc(rrtype string)

func (*Metrics) SetBlockedHostnames

func (m *Metrics) SetBlockedHostnames(n int)

func (*Metrics) SetBlockedIPPrefixes

func (m *Metrics) SetBlockedIPPrefixes(n int)

func (*Metrics) SetBlockedIPs

func (m *Metrics) SetBlockedIPs(n int)

Jump to

Keyboard shortcuts

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