noneimpl

package
v0.0.0-...-4182050 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package noneimpl provides the noop auditor component

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NullAuditor

type NullAuditor struct {
	// contains filtered or unexported fields
}

NullAuditor is an auditor that does nothing but empties the channel it receives messages from

func NewAuditor

func NewAuditor() *NullAuditor

NewAuditor creates a new noop auditor comoponent

func (*NullAuditor) Channel

func (a *NullAuditor) Channel() chan *message.Payload

Channel returns the channel messages should be sent on

func (*NullAuditor) GetOffset

func (a *NullAuditor) GetOffset(_ string) string

GetOffset returns an empty string

func (*NullAuditor) GetTailingMode

func (a *NullAuditor) GetTailingMode(_ string) string

GetTailingMode returns an empty string

func (*NullAuditor) Start

func (a *NullAuditor) Start()

Start starts the NullAuditor main loop

func (*NullAuditor) Stop

func (a *NullAuditor) Stop()

Stop stops the NullAuditor main loop

Jump to

Keyboard shortcuts

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