scurvy

package module
v0.0.0-...-ebf8a94 Latest Latest
Warning

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

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

README

Scurvy

Scurvy is a testing framework for the AV Systems. The intent is to have several different packages that can be tied together into various scripts for testing.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Debugf(string, ...interface{})
	Infof(string, ...interface{})
	Warnf(string, ...interface{})
	Errorf(string, ...interface{})
}

Logger is the interface that should be met by a logging implementation in order for it to be useful to scurvy

type NullLogger

type NullLogger struct{}

NullLogger is a default null logger to be used by various parts of the system if there is no other logger defined

func (*NullLogger) Debugf

func (l *NullLogger) Debugf(format string, a ...interface{})

func (*NullLogger) Errorf

func (l *NullLogger) Errorf(format string, a ...interface{})

func (*NullLogger) Infof

func (l *NullLogger) Infof(format string, a ...interface{})

func (*NullLogger) Warnf

func (l *NullLogger) Warnf(format string, a ...interface{})

type RandomDispatcher

type RandomDispatcher interface {
	RandomDispatch() (msg string, err error)
}

Jump to

Keyboard shortcuts

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