format

package
v6.0.0-rc1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2017 License: Apache-2.0 Imports: 5 Imported by: 236

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	String *fmtstr.EventFormatString `config:"string" validate:"required"`
}

type Encoder

type Encoder struct {
	Format *fmtstr.EventFormatString
}

func New

func New(fmt *fmtstr.EventFormatString) *Encoder

func (*Encoder) Encode

func (e *Encoder) Encode(_ string, event *beat.Event) ([]byte, error)

Jump to

Keyboard shortcuts

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