log

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogReactor

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

LogReactor is a pub/sub test server reactor for logging server events.

func NewLogReactor

func NewLogReactor(logger *log.Logger) *LogReactor

NewLogReactor returns a new LogReactor instance.

func (*LogReactor) FuncNames

func (r *LogReactor) FuncNames() []string

FuncNames returns the list of function names this reactor will react to.

func (*LogReactor) React

func (r *LogReactor) React(req any) (bool, any, error)

React is the reactor logic.

Jump to

Keyboard shortcuts

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