package
0.0.11
Repository: https://github.com/goblimey/go-tools.git
Documentation: pkg.go.dev

# README

SwitchWriter

The switch writer is a managed io.Writer that provides a destination stream that can be changed dynamically. The destination stream can be disabled, in which case all writes to it are silently discarded.

The switch writer demo shows how it can be used.

# Packages

No description provided by the author

# Functions

New creates a new, initially disabled, Writer.

# Structs

A Writer is a managed io.Writer that provides a destination stream that can be changed dynamically.