ua

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "UserAgent"

Variables

This section is empty.

Functions

This section is empty.

Types

type UATransformer

type UATransformer struct {
	Key              string `json:"key"`
	RegexYmlFilePath string `json:"regex_yml_path"`
	UA_Device        string `json:"device"`

	UA_OS string `json:"os"`

	UA_Agent string `json:"agent"`

	MemCache string `json:"memory_cache"`
	// contains filtered or unexported fields
}

func (*UATransformer) ConfigOptions

func (it *UATransformer) ConfigOptions() []Option

func (*UATransformer) Description

func (it *UATransformer) Description() string

func (*UATransformer) Init

func (it *UATransformer) Init() (err error)

func (*UATransformer) RawTransform

func (it *UATransformer) RawTransform(datas []string) ([]string, error)

func (*UATransformer) SampleConfig

func (it *UATransformer) SampleConfig() string

func (*UATransformer) SetStats added in v1.5.1

func (it *UATransformer) SetStats(err string) StatsInfo

func (*UATransformer) Stage

func (it *UATransformer) Stage() string

func (*UATransformer) Stats

func (it *UATransformer) Stats() StatsInfo

func (*UATransformer) Transform

func (it *UATransformer) Transform(datas []Data) ([]Data, error)

func (*UATransformer) Type

func (it *UATransformer) Type() string

Jump to

Keyboard shortcuts

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