syslog

package
v0.0.0-...-0fce7b6 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2019 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.TextMarshaler

func (Framing) String

func (f Framing) String() string

func (*Framing) UnmarshalTOML

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

UnmarshalTOML implements ability to unmarshal framing from TOML files.

func (*Framing) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler

Jump to

Keyboard shortcuts

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