data_extractor

package
v0.0.0-...-27f3ab6 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Complete

type Complete struct {
}

func (Complete) Extract

func (c Complete) Extract(data []byte) ([]byte, error)

type Extractor

type Extractor interface {
	Extract(data []byte) ([]byte, error)
}

type GJSON

type GJSON struct {
	Path string
}

func (GJSON) Extract

func (g GJSON) Extract(data []byte) ([]byte, error)

type Jq

type Jq struct {
	Query string
	// contains filtered or unexported fields
}

func (*Jq) Extract

func (j *Jq) Extract(data []byte) ([]byte, error)

type Split

type Split struct {
	Separator string
	Index     int
}

func (Split) Extract

func (s Split) Extract(data []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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