ip

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2018 License: Apache-2.0 Imports: 6 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IpTransformer

type IpTransformer struct {
	StageTime string `json:"stage"`
	Key       string `json:"key"`
	DataPath  string `json:"data_path"`
	// contains filtered or unexported fields
}

更全的免费数据可以在ipip.net下载

func (*IpTransformer) ConfigOptions added in v1.3.2

func (it *IpTransformer) ConfigOptions() []utils.Option

func (*IpTransformer) Description

func (it *IpTransformer) Description() string

func (*IpTransformer) RawTransform

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

func (*IpTransformer) SampleConfig

func (it *IpTransformer) SampleConfig() string

func (*IpTransformer) Stage

func (it *IpTransformer) Stage() string

func (*IpTransformer) Stats

func (it *IpTransformer) Stats() utils.StatsInfo

func (*IpTransformer) Transform

func (it *IpTransformer) Transform(datas []sender.Data) ([]sender.Data, error)

func (*IpTransformer) Type added in v1.3.0

func (it *IpTransformer) Type() string

Jump to

Keyboard shortcuts

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