stdout

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package stdout provides an Auditor that JSON-encodes CloudEvents to stdout. Useful for local development and debugging.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuditor

func NewAuditor(opts ...Option) audit.Auditor

NewAuditor returns an Auditor that writes JSON-encoded CloudEvents to stdout.

Types

type Option

type Option func(*auditorImpl)

Option configures the stdout auditor.

func WithWriter

func WithWriter(w io.Writer) Option

WithWriter overrides the default os.Stdout destination.

Jump to

Keyboard shortcuts

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