tools

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Feb 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 NotifyWriter

type NotifyWriter struct {
	io.Writer
	// contains filtered or unexported fields
}

NotifyWriter is a wrapper for io.Writer that notifies a channel when it finds the lookFor string.

func NewNotifyWriter

func NewNotifyWriter(w io.Writer, lookFor string) *NotifyWriter

func (*NotifyWriter) Ready

func (w *NotifyWriter) Ready() <-chan struct{}

func (*NotifyWriter) Write

func (w *NotifyWriter) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

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