format

package
v6.0.0-beta1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

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