console

package
v0.105.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package console contains generic output actions for NFlow.

Index

Constants

View Source
const ID = "console"

Variables

This section is empty.

Functions

func Bundle

func Bundle(_ map[string]string) compiler.Bundle

func Library

func Library() action.Library

func WithStderrWriter

func WithStderrWriter(ctx context.Context, writer io.Writer) context.Context

WithStderrWriter injects the writer used by console.stderr. A nil writer leaves the context unchanged; the action then returns a configuration error.

Types

type StderrRequest

type StderrRequest struct {
	Message string `json:"message"`
}

StderrRequest is the typed request for console.stderr.

Jump to

Keyboard shortcuts

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