apps

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const KeyRedis = "key"
View Source
const KeyTode = "key"

Variables

View Source
var (
	OptionRedisKey = Option{
		KeyName:      KeyRedis,
		ChooseOnly:   false,
		Default:      "",
		Required:     true,
		Placeholder:  "my_field_keyname",
		DefaultNoUse: true,
		Description:  "按redis日志格式进行解析的键(" + KeyRedis + ")",
		ToolTip:      "对该字段的值按redis的日志格式进行解析",
		Type:         transforms.TransformTypeString,
	}
)
View Source
var (
	OptionTodeKey = Option{
		KeyName:      KeyTode,
		ChooseOnly:   false,
		Default:      "",
		Required:     true,
		Placeholder:  "my_field_keyname",
		DefaultNoUse: true,
		Description:  "按tode日志格式进行解析的键(" + KeyTode + ")",
		ToolTip:      "对该字段的值按tode的日志格式进行解析",
		Type:         transforms.TransformTypeString,
	}
)

Functions

This section is empty.

Types

type Redis

type Redis struct {
	Key string `json:"key"`
	// contains filtered or unexported fields
}

func (*Redis) ConfigOptions

func (r *Redis) ConfigOptions() []Option

func (*Redis) Description

func (r *Redis) Description() string

func (*Redis) Init

func (r *Redis) Init() error

func (*Redis) RawTransform

func (r *Redis) RawTransform(datas []string) ([]string, error)

func (*Redis) SampleConfig

func (r *Redis) SampleConfig() string

func (*Redis) SetStats

func (r *Redis) SetStats(err string) StatsInfo

func (*Redis) Stage

func (r *Redis) Stage() string

func (*Redis) Stats

func (r *Redis) Stats() StatsInfo

func (*Redis) Transform

func (r *Redis) Transform(datas []Data) ([]Data, error)

func (*Redis) Type

func (r *Redis) Type() string

type Tode

type Tode struct {
	Key string `json:"key"`
	// contains filtered or unexported fields
}

func (*Tode) ConfigOptions

func (t *Tode) ConfigOptions() []Option

func (*Tode) Description

func (t *Tode) Description() string

func (*Tode) Init

func (t *Tode) Init() error

func (*Tode) RawTransform

func (t *Tode) RawTransform(datas []string) ([]string, error)

func (*Tode) SampleConfig

func (t *Tode) SampleConfig() string

func (*Tode) SetStats

func (t *Tode) SetStats(err string) StatsInfo

func (*Tode) Stage

func (t *Tode) Stage() string

func (*Tode) Stats

func (t *Tode) Stats() StatsInfo

func (*Tode) Transform

func (t *Tode) Transform(datas []Data) ([]Data, error)

func (*Tode) Type

func (t *Tode) Type() string

Jump to

Keyboard shortcuts

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