mutate

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

README

mutate transformers

专门放字符串变化相关的Transformers

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayExpand added in v1.3.6

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

func (*ArrayExpand) ConfigOptions added in v1.3.6

func (p *ArrayExpand) ConfigOptions() []utils.Option

func (*ArrayExpand) Description added in v1.3.6

func (p *ArrayExpand) Description() string

func (*ArrayExpand) RawTransform added in v1.3.6

func (p *ArrayExpand) RawTransform(datas []string) ([]string, error)

func (*ArrayExpand) SampleConfig added in v1.3.6

func (p *ArrayExpand) SampleConfig() string

func (*ArrayExpand) Stage added in v1.3.6

func (p *ArrayExpand) Stage() string

func (*ArrayExpand) Stats added in v1.3.6

func (p *ArrayExpand) Stats() utils.StatsInfo

func (*ArrayExpand) Transform added in v1.3.6

func (p *ArrayExpand) Transform(datas []sender.Data) ([]sender.Data, error)

func (*ArrayExpand) Type added in v1.3.6

func (p *ArrayExpand) Type() string

type Converter added in v1.3.3

type Converter struct {
	DSL string `json:"dsl"`
	// contains filtered or unexported fields
}

func (*Converter) ConfigOptions added in v1.3.3

func (g *Converter) ConfigOptions() []utils.Option

func (*Converter) Description added in v1.3.3

func (g *Converter) Description() string

func (*Converter) RawTransform added in v1.3.3

func (g *Converter) RawTransform(datas []string) ([]string, error)

func (*Converter) SampleConfig added in v1.3.3

func (g *Converter) SampleConfig() string

func (*Converter) Stage added in v1.3.3

func (g *Converter) Stage() string

func (*Converter) Stats added in v1.3.3

func (g *Converter) Stats() utils.StatsInfo

func (*Converter) Transform added in v1.3.3

func (g *Converter) Transform(datas []sender.Data) ([]sender.Data, error)

func (*Converter) Type added in v1.3.3

func (g *Converter) Type() string

type Discarder added in v1.3.2

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

func (*Discarder) ConfigOptions added in v1.3.2

func (g *Discarder) ConfigOptions() []utils.Option

func (*Discarder) Description added in v1.3.2

func (g *Discarder) Description() string

func (*Discarder) RawTransform added in v1.3.2

func (g *Discarder) RawTransform(datas []string) ([]string, error)

func (*Discarder) SampleConfig added in v1.3.2

func (g *Discarder) SampleConfig() string

func (*Discarder) Stage added in v1.3.2

func (g *Discarder) Stage() string

func (*Discarder) Stats added in v1.3.2

func (g *Discarder) Stats() utils.StatsInfo

func (*Discarder) Transform added in v1.3.2

func (g *Discarder) Transform(datas []sender.Data) ([]sender.Data, error)

func (*Discarder) Type added in v1.3.2

func (g *Discarder) Type() string

type Replacer

type Replacer struct {
	StageTime string `json:"stage"`
	Key       string `json:"key"`
	Old       string `json:"old"`
	New       string `json:"new"`
	// contains filtered or unexported fields
}

func (*Replacer) ConfigOptions added in v1.3.2

func (g *Replacer) ConfigOptions() []utils.Option

func (*Replacer) Description

func (g *Replacer) Description() string

func (*Replacer) RawTransform

func (g *Replacer) RawTransform(datas []string) ([]string, error)

func (*Replacer) SampleConfig

func (g *Replacer) SampleConfig() string

func (*Replacer) Stage

func (g *Replacer) Stage() string

func (*Replacer) Stats

func (g *Replacer) Stats() utils.StatsInfo

func (*Replacer) Transform

func (g *Replacer) Transform(datas []sender.Data) ([]sender.Data, error)

func (*Replacer) Type added in v1.3.0

func (g *Replacer) Type() string

type Spliter added in v1.3.3

type Spliter struct {
	Key         string `json:"key"`
	SeperateKey string `json:"sep"`
	ArraryName  string `json:"newfield"`
	// contains filtered or unexported fields
}

func (*Spliter) ConfigOptions added in v1.3.3

func (g *Spliter) ConfigOptions() []utils.Option

func (*Spliter) Description added in v1.3.3

func (g *Spliter) Description() string

func (*Spliter) RawTransform added in v1.3.3

func (g *Spliter) RawTransform(datas []string) ([]string, error)

func (*Spliter) SampleConfig added in v1.3.3

func (g *Spliter) SampleConfig() string

func (*Spliter) Stage added in v1.3.3

func (g *Spliter) Stage() string

func (*Spliter) Stats added in v1.3.3

func (g *Spliter) Stats() utils.StatsInfo

func (*Spliter) Transform added in v1.3.3

func (g *Spliter) Transform(datas []sender.Data) ([]sender.Data, error)

func (*Spliter) Type added in v1.3.3

func (g *Spliter) Type() string

type UrlParam added in v1.3.6

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

func (*UrlParam) ConfigOptions added in v1.3.6

func (p *UrlParam) ConfigOptions() []utils.Option

func (*UrlParam) Description added in v1.3.6

func (p *UrlParam) Description() string

func (*UrlParam) RawTransform added in v1.3.6

func (p *UrlParam) RawTransform(datas []string) ([]string, error)

func (*UrlParam) SampleConfig added in v1.3.6

func (p *UrlParam) SampleConfig() string

func (*UrlParam) Stage added in v1.3.6

func (p *UrlParam) Stage() string

func (*UrlParam) Stats added in v1.3.6

func (p *UrlParam) Stats() utils.StatsInfo

func (*UrlParam) Transform added in v1.3.6

func (p *UrlParam) Transform(datas []sender.Data) ([]sender.Data, error)

func (*UrlParam) Type added in v1.3.6

func (p *UrlParam) Type() string

Jump to

Keyboard shortcuts

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