export

package
v0.0.0-...-603c336 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package export implements a serializer for the systemd Journal Export Format as documented at https://systemd.io/JOURNAL_EXPORT_FORMATS/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteEndOfEntry

func WriteEndOfEntry(w io.Writer) error

WriteEndOfEntry terminates the journal entry.

func WriteField

func WriteField(w io.Writer, variable, value string) error

WriteField writes the field serialized to Journal Export format to w.

The variable name must consist only of uppercase characters, numbers and underscores. No validation or sanitization is performed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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