ua

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: May 23, 2018 License: Apache-2.0 Imports: 8 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

This section is empty.

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) 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