syslog

package
v1.29.5 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 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 Framing

type Framing int

Framing represents the framing technique we expect the messages to come.

const (
	// OctetCounting indicates the transparent framing technique for syslog transport.
	OctetCounting Framing = iota
	// NonTransparent indicates the non-transparent framing technique for syslog transport.
	NonTransparent
)

func (Framing) MarshalText

func (f Framing) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaller

func (Framing) String

func (f Framing) String() string

func (*Framing) UnmarshalTOML

func (f *Framing) UnmarshalTOML(data []byte) error

UnmarshalTOML implements ability to unmarshal framing from TOML files.

func (*Framing) UnmarshalText

func (f *Framing) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler

Jump to

Keyboard shortcuts

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