processors

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 56 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultStreamingSpec = StreamingSpec{
	Mode:      StreamingModeNone,
	ChunkSize: 64 * 1024,
	Prefer:    false,
}
View Source
var List = []list.Item{}/* 118 elements not displayed */

Functions

func IsGenerator

func IsGenerator(p Processor) bool

func ShouldStream added in v1.1.0

func ShouldStream(processor Processor, inputSize, threshold int64) bool

func SupportsStreaming added in v1.1.0

func SupportsStreaming(processor Processor) bool

func TransformStream

func TransformStream(processor Processor, reader io.Reader, writer io.Writer, opts ...Flag) error

Types

type AESDecrypt

type AESDecrypt struct{}

func (AESDecrypt) Alias

func (p AESDecrypt) Alias() []string

func (AESDecrypt) Description

func (p AESDecrypt) Description() string

func (AESDecrypt) FilterValue

func (p AESDecrypt) FilterValue() string

func (AESDecrypt) Flags

func (p AESDecrypt) Flags() []Flag

func (AESDecrypt) Name

func (p AESDecrypt) Name() string

func (AESDecrypt) Title

func (p AESDecrypt) Title() string

func (AESDecrypt) Transform

func (p AESDecrypt) Transform(data []byte, f ...Flag) (string, error)

type AESEncrypt

type AESEncrypt struct{}

func (AESEncrypt) Alias

func (p AESEncrypt) Alias() []string

func (AESEncrypt) Description

func (p AESEncrypt) Description() string

func (AESEncrypt) FilterValue

func (p AESEncrypt) FilterValue() string

func (AESEncrypt) Flags

func (p AESEncrypt) Flags() []Flag

func (AESEncrypt) Name

func (p AESEncrypt) Name() string

func (AESEncrypt) Title

func (p AESEncrypt) Title() string

func (AESEncrypt) Transform

func (p AESEncrypt) Transform(data []byte, f ...Flag) (string, error)

type ASCII85Decoding

type ASCII85Decoding struct{}

func (ASCII85Decoding) Alias

func (p ASCII85Decoding) Alias() []string

func (ASCII85Decoding) Description

func (p ASCII85Decoding) Description() string

func (ASCII85Decoding) FilterValue

func (p ASCII85Decoding) FilterValue() string

func (ASCII85Decoding) Flags

func (p ASCII85Decoding) Flags() []Flag

func (ASCII85Decoding) Name

func (p ASCII85Decoding) Name() string

func (ASCII85Decoding) Title

func (p ASCII85Decoding) Title() string

func (ASCII85Decoding) Transform

func (p ASCII85Decoding) Transform(data []byte, _ ...Flag) (string, error)

type ASCII85Encoding

type ASCII85Encoding struct{}

func (ASCII85Encoding) Alias

func (p ASCII85Encoding) Alias() []string

func (ASCII85Encoding) Description

func (p ASCII85Encoding) Description() string

func (ASCII85Encoding) FilterValue

func (p ASCII85Encoding) FilterValue() string

func (ASCII85Encoding) Flags

func (p ASCII85Encoding) Flags() []Flag

func (ASCII85Encoding) Name

func (p ASCII85Encoding) Name() string

func (ASCII85Encoding) Title

func (p ASCII85Encoding) Title() string

func (ASCII85Encoding) Transform

func (p ASCII85Encoding) Transform(data []byte, _ ...Flag) (string, error)

type Adler32

type Adler32 struct{}

func (Adler32) Alias

func (p Adler32) Alias() []string

func (Adler32) Description

func (p Adler32) Description() string

func (Adler32) FilterValue

func (p Adler32) FilterValue() string

func (Adler32) Flags

func (p Adler32) Flags() []Flag

func (Adler32) Name

func (p Adler32) Name() string

func (Adler32) Title

func (p Adler32) Title() string

func (Adler32) Transform

func (p Adler32) Transform(data []byte, _ ...Flag) (string, error)

type Argon2Hash

type Argon2Hash struct{}

func (Argon2Hash) Alias

func (p Argon2Hash) Alias() []string

func (Argon2Hash) Description

func (p Argon2Hash) Description() string

func (Argon2Hash) FilterValue

func (p Argon2Hash) FilterValue() string

func (Argon2Hash) Flags

func (p Argon2Hash) Flags() []Flag

func (Argon2Hash) Name

func (p Argon2Hash) Name() string

func (Argon2Hash) Title

func (p Argon2Hash) Title() string

func (Argon2Hash) Transform

func (p Argon2Hash) Transform(data []byte, f ...Flag) (string, error)

type BLAKE2b

type BLAKE2b struct{}

func (BLAKE2b) Alias

func (p BLAKE2b) Alias() []string

func (BLAKE2b) Description

func (p BLAKE2b) Description() string

func (BLAKE2b) FilterValue

func (p BLAKE2b) FilterValue() string

func (BLAKE2b) Flags

func (p BLAKE2b) Flags() []Flag

func (BLAKE2b) Name

func (p BLAKE2b) Name() string

func (BLAKE2b) StreamingSpec added in v1.1.0

func (p BLAKE2b) StreamingSpec() StreamingSpec

func (BLAKE2b) Title

func (p BLAKE2b) Title() string

func (BLAKE2b) Transform

func (p BLAKE2b) Transform(data []byte, f ...Flag) (string, error)

func (BLAKE2b) TransformStream

func (p BLAKE2b) TransformStream(reader io.Reader, writer io.Writer, opts ...Flag) error

type BLAKE2s

type BLAKE2s struct{}

func (BLAKE2s) Alias

func (p BLAKE2s) Alias() []string

func (BLAKE2s) Description

func (p BLAKE2s) Description() string

func (BLAKE2s) FilterValue

func (p BLAKE2s) FilterValue() string

func (BLAKE2s) Flags

func (p BLAKE2s) Flags() []Flag

func (BLAKE2s) Name

func (p BLAKE2s) Name() string

func (BLAKE2s) StreamingSpec added in v1.1.0

func (p BLAKE2s) StreamingSpec() StreamingSpec

func (BLAKE2s) Title

func (p BLAKE2s) Title() string

func (BLAKE2s) Transform

func (p BLAKE2s) Transform(data []byte, _ ...Flag) (string, error)

func (BLAKE2s) TransformStream

func (p BLAKE2s) TransformStream(reader io.Reader, writer io.Writer, _ ...Flag) error

type Base32Decode

type Base32Decode struct{}

func (Base32Decode) Alias

func (p Base32Decode) Alias() []string

func (Base32Decode) Description

func (p Base32Decode) Description() string

func (Base32Decode) FilterValue

func (p Base32Decode) FilterValue() string

func (Base32Decode) Flags

func (p Base32Decode) Flags() []Flag

func (Base32Decode) Name

func (p Base32Decode) Name() string

func (Base32Decode) Title

func (p Base32Decode) Title() string

func (Base32Decode) Transform

func (p Base32Decode) Transform(data []byte, _ ...Flag) (string, error)

type Base32Encoding

type Base32Encoding struct{}

func (Base32Encoding) Alias

func (p Base32Encoding) Alias() []string

func (Base32Encoding) Description

func (p Base32Encoding) Description() string

func (Base32Encoding) FilterValue

func (p Base32Encoding) FilterValue() string

func (Base32Encoding) Flags

func (p Base32Encoding) Flags() []Flag

func (Base32Encoding) Name

func (p Base32Encoding) Name() string

func (Base32Encoding) Title

func (p Base32Encoding) Title() string

func (Base32Encoding) Transform

func (p Base32Encoding) Transform(data []byte, _ ...Flag) (string, error)

type Base58Decode

type Base58Decode struct{}

func (Base58Decode) Alias

func (p Base58Decode) Alias() []string

func (Base58Decode) Description

func (p Base58Decode) Description() string

func (Base58Decode) FilterValue

func (p Base58Decode) FilterValue() string

func (Base58Decode) Flags

func (p Base58Decode) Flags() []Flag

func (Base58Decode) Name

func (p Base58Decode) Name() string

func (Base58Decode) Title

func (p Base58Decode) Title() string

func (Base58Decode) Transform

func (p Base58Decode) Transform(data []byte, f ...Flag) (string, error)

type Base58Encode

type Base58Encode struct{}

func (Base58Encode) Alias

func (p Base58Encode) Alias() []string

func (Base58Encode) Description

func (p Base58Encode) Description() string

func (Base58Encode) FilterValue

func (p Base58Encode) FilterValue() string

func (Base58Encode) Flags

func (p Base58Encode) Flags() []Flag

func (Base58Encode) Name

func (p Base58Encode) Name() string

func (Base58Encode) Title

func (p Base58Encode) Title() string

func (Base58Encode) Transform

func (p Base58Encode) Transform(data []byte, f ...Flag) (string, error)

type Base62Decode

type Base62Decode struct{}

func (Base62Decode) Alias

func (p Base62Decode) Alias() []string

func (Base62Decode) Description

func (p Base62Decode) Description() string

func (Base62Decode) FilterValue

func (p Base62Decode) FilterValue() string

func (Base62Decode) Flags

func (p Base62Decode) Flags() []Flag

func (Base62Decode) Name

func (p Base62Decode) Name() string

func (Base62Decode) Title

func (p Base62Decode) Title() string

func (Base62Decode) Transform

func (p Base62Decode) Transform(data []byte, _ ...Flag) (string, error)

type Base62Encode

type Base62Encode struct{}

func (Base62Encode) Alias

func (p Base62Encode) Alias() []string

func (Base62Encode) Description

func (p Base62Encode) Description() string

func (Base62Encode) FilterValue

func (p Base62Encode) FilterValue() string

func (Base62Encode) Flags

func (p Base62Encode) Flags() []Flag

func (Base62Encode) Name

func (p Base62Encode) Name() string

func (Base62Encode) Title

func (p Base62Encode) Title() string

func (Base62Encode) Transform

func (p Base62Encode) Transform(data []byte, f ...Flag) (string, error)

type Base64Decode

type Base64Decode struct{}

func (Base64Decode) Alias

func (p Base64Decode) Alias() []string

func (Base64Decode) Description

func (p Base64Decode) Description() string

func (Base64Decode) FilterValue

func (p Base64Decode) FilterValue() string

func (Base64Decode) Flags

func (p Base64Decode) Flags() []Flag

func (Base64Decode) Name

func (p Base64Decode) Name() string

func (Base64Decode) Title

func (p Base64Decode) Title() string

func (Base64Decode) Transform

func (p Base64Decode) Transform(data []byte, f ...Flag) (string, error)

type Base64Encode

type Base64Encode struct{}

func (Base64Encode) Alias

func (p Base64Encode) Alias() []string

func (Base64Encode) Description

func (p Base64Encode) Description() string

func (Base64Encode) FilterValue

func (p Base64Encode) FilterValue() string

func (Base64Encode) Flags

func (p Base64Encode) Flags() []Flag

func (Base64Encode) Name

func (p Base64Encode) Name() string

func (Base64Encode) Title

func (p Base64Encode) Title() string

func (Base64Encode) Transform

func (p Base64Encode) Transform(data []byte, f ...Flag) (string, error)

type Base64URLDecode

type Base64URLDecode struct{}

func (Base64URLDecode) Alias

func (p Base64URLDecode) Alias() []string

func (Base64URLDecode) Description

func (p Base64URLDecode) Description() string

func (Base64URLDecode) FilterValue

func (p Base64URLDecode) FilterValue() string

func (Base64URLDecode) Flags

func (p Base64URLDecode) Flags() []Flag

func (Base64URLDecode) Name

func (p Base64URLDecode) Name() string

func (Base64URLDecode) Title

func (p Base64URLDecode) Title() string

func (Base64URLDecode) Transform

func (p Base64URLDecode) Transform(data []byte, f ...Flag) (string, error)

type Base64URLEncode

type Base64URLEncode struct{}

func (Base64URLEncode) Alias

func (p Base64URLEncode) Alias() []string

func (Base64URLEncode) Description

func (p Base64URLEncode) Description() string

func (Base64URLEncode) FilterValue

func (p Base64URLEncode) FilterValue() string

func (Base64URLEncode) Flags

func (p Base64URLEncode) Flags() []Flag

func (Base64URLEncode) Name

func (p Base64URLEncode) Name() string

func (Base64URLEncode) Title

func (p Base64URLEncode) Title() string

func (Base64URLEncode) Transform

func (p Base64URLEncode) Transform(data []byte, f ...Flag) (string, error)

type BaseConvert

type BaseConvert struct{}

func (BaseConvert) Alias

func (p BaseConvert) Alias() []string

func (BaseConvert) Description

func (p BaseConvert) Description() string

func (BaseConvert) FilterValue

func (p BaseConvert) FilterValue() string

func (BaseConvert) Flags

func (p BaseConvert) Flags() []Flag

func (BaseConvert) Name

func (p BaseConvert) Name() string

func (BaseConvert) Title

func (p BaseConvert) Title() string

func (BaseConvert) Transform

func (p BaseConvert) Transform(data []byte, f ...Flag) (string, error)

type Bcrypt

type Bcrypt struct{}

func (Bcrypt) Alias

func (p Bcrypt) Alias() []string

func (Bcrypt) Description

func (p Bcrypt) Description() string

func (Bcrypt) FilterValue

func (p Bcrypt) FilterValue() string

func (Bcrypt) Flags

func (p Bcrypt) Flags() []Flag

func (Bcrypt) Name

func (p Bcrypt) Name() string

func (Bcrypt) Title

func (p Bcrypt) Title() string

func (Bcrypt) Transform

func (p Bcrypt) Transform(data []byte, f ...Flag) (string, error)

type BinaryDecode

type BinaryDecode struct{}

func (BinaryDecode) Alias

func (p BinaryDecode) Alias() []string

func (BinaryDecode) Description

func (p BinaryDecode) Description() string

func (BinaryDecode) FilterValue

func (p BinaryDecode) FilterValue() string

func (BinaryDecode) Flags

func (p BinaryDecode) Flags() []Flag

func (BinaryDecode) Name

func (p BinaryDecode) Name() string

func (BinaryDecode) Title

func (p BinaryDecode) Title() string

func (BinaryDecode) Transform

func (p BinaryDecode) Transform(data []byte, _ ...Flag) (string, error)

type BinaryEncode

type BinaryEncode struct{}

func (BinaryEncode) Alias

func (p BinaryEncode) Alias() []string

func (BinaryEncode) Description

func (p BinaryEncode) Description() string

func (BinaryEncode) FilterValue

func (p BinaryEncode) FilterValue() string

func (BinaryEncode) Flags

func (p BinaryEncode) Flags() []Flag

func (BinaryEncode) Name

func (p BinaryEncode) Name() string

func (BinaryEncode) Title

func (p BinaryEncode) Title() string

func (BinaryEncode) Transform

func (p BinaryEncode) Transform(data []byte, _ ...Flag) (string, error)

type CRC32

type CRC32 struct{}

func (CRC32) Alias

func (p CRC32) Alias() []string

func (CRC32) Description

func (p CRC32) Description() string

func (CRC32) FilterValue

func (p CRC32) FilterValue() string

func (CRC32) Flags

func (p CRC32) Flags() []Flag

func (CRC32) Name

func (p CRC32) Name() string

func (CRC32) Title

func (p CRC32) Title() string

func (CRC32) Transform

func (p CRC32) Transform(data []byte, f ...Flag) (string, error)

type CSVToJSON

type CSVToJSON struct{}

func (CSVToJSON) Alias

func (p CSVToJSON) Alias() []string

func (CSVToJSON) Description

func (p CSVToJSON) Description() string

func (CSVToJSON) FilterValue

func (p CSVToJSON) FilterValue() string

func (CSVToJSON) Flags

func (p CSVToJSON) Flags() []Flag

func (CSVToJSON) Name

func (p CSVToJSON) Name() string

func (CSVToJSON) Title

func (p CSVToJSON) Title() string

func (CSVToJSON) Transform

func (p CSVToJSON) Transform(data []byte, _ ...Flag) (string, error)

type CaesarDecode

type CaesarDecode struct{}

func (CaesarDecode) Alias

func (p CaesarDecode) Alias() []string

func (CaesarDecode) Description

func (p CaesarDecode) Description() string

func (CaesarDecode) FilterValue

func (p CaesarDecode) FilterValue() string

func (CaesarDecode) Flags

func (p CaesarDecode) Flags() []Flag

func (CaesarDecode) Name

func (p CaesarDecode) Name() string

func (CaesarDecode) Title

func (p CaesarDecode) Title() string

func (CaesarDecode) Transform

func (p CaesarDecode) Transform(data []byte, f ...Flag) (string, error)

type CaesarEncode

type CaesarEncode struct{}

func (CaesarEncode) Alias

func (p CaesarEncode) Alias() []string

func (CaesarEncode) Description

func (p CaesarEncode) Description() string

func (CaesarEncode) FilterValue

func (p CaesarEncode) FilterValue() string

func (CaesarEncode) Flags

func (p CaesarEncode) Flags() []Flag

func (CaesarEncode) Name

func (p CaesarEncode) Name() string

func (CaesarEncode) Title

func (p CaesarEncode) Title() string

func (CaesarEncode) Transform

func (p CaesarEncode) Transform(data []byte, f ...Flag) (string, error)

type Camel

type Camel struct{}

func (Camel) Alias

func (p Camel) Alias() []string

func (Camel) Description

func (p Camel) Description() string

func (Camel) FilterValue

func (p Camel) FilterValue() string

func (Camel) Flags

func (p Camel) Flags() []Flag

func (Camel) Name

func (p Camel) Name() string

func (Camel) Title

func (p Camel) Title() string

func (Camel) Transform

func (p Camel) Transform(data []byte, _ ...Flag) (string, error)

type CharFrequency

type CharFrequency struct{}

func (CharFrequency) Alias

func (p CharFrequency) Alias() []string

func (CharFrequency) Description

func (p CharFrequency) Description() string

func (CharFrequency) FilterValue

func (p CharFrequency) FilterValue() string

func (CharFrequency) Flags

func (p CharFrequency) Flags() []Flag

func (CharFrequency) Name

func (p CharFrequency) Name() string

func (CharFrequency) Title

func (p CharFrequency) Title() string

func (CharFrequency) Transform

func (p CharFrequency) Transform(data []byte, _ ...Flag) (string, error)

type ChecksumVerify

type ChecksumVerify struct{}

func (ChecksumVerify) Alias

func (p ChecksumVerify) Alias() []string

func (ChecksumVerify) Description

func (p ChecksumVerify) Description() string

func (ChecksumVerify) FilterValue

func (p ChecksumVerify) FilterValue() string

func (ChecksumVerify) Flags

func (p ChecksumVerify) Flags() []Flag

func (ChecksumVerify) Name

func (p ChecksumVerify) Name() string

func (ChecksumVerify) Title

func (p ChecksumVerify) Title() string

func (ChecksumVerify) Transform

func (p ChecksumVerify) Transform(data []byte, f ...Flag) (string, error)

type Column

type Column struct{}

func (Column) Alias

func (p Column) Alias() []string

func (Column) Description

func (p Column) Description() string

func (Column) FilterValue

func (p Column) FilterValue() string

func (Column) Flags

func (p Column) Flags() []Flag

func (Column) Name

func (p Column) Name() string

func (Column) Title

func (p Column) Title() string

func (Column) Transform

func (p Column) Transform(data []byte, f ...Flag) (string, error)

type CountCharacters

type CountCharacters struct{}

func (CountCharacters) Alias

func (p CountCharacters) Alias() []string

func (CountCharacters) Description

func (p CountCharacters) Description() string

func (CountCharacters) FilterValue

func (p CountCharacters) FilterValue() string

func (CountCharacters) Flags

func (p CountCharacters) Flags() []Flag

func (CountCharacters) Name

func (p CountCharacters) Name() string

func (CountCharacters) StreamingSpec added in v1.1.0

func (p CountCharacters) StreamingSpec() StreamingSpec

func (CountCharacters) Title

func (p CountCharacters) Title() string

func (CountCharacters) Transform

func (p CountCharacters) Transform(data []byte, _ ...Flag) (string, error)

type CountLines

type CountLines struct{}

func (CountLines) Alias

func (p CountLines) Alias() []string

func (CountLines) Description

func (p CountLines) Description() string

func (CountLines) FilterValue

func (p CountLines) FilterValue() string

func (CountLines) Flags

func (p CountLines) Flags() []Flag

func (CountLines) Name

func (p CountLines) Name() string

func (CountLines) StreamingSpec added in v1.1.0

func (p CountLines) StreamingSpec() StreamingSpec

func (CountLines) Title

func (p CountLines) Title() string

func (CountLines) Transform

func (p CountLines) Transform(data []byte, _ ...Flag) (string, error)

type CountWords

type CountWords struct{}

func (CountWords) Alias

func (p CountWords) Alias() []string

func (CountWords) Description

func (p CountWords) Description() string

func (CountWords) FilterValue

func (p CountWords) FilterValue() string

func (CountWords) Flags

func (p CountWords) Flags() []Flag

func (CountWords) Name

func (p CountWords) Name() string

func (CountWords) StreamingSpec added in v1.1.0

func (p CountWords) StreamingSpec() StreamingSpec

func (CountWords) Title

func (p CountWords) Title() string

func (CountWords) Transform

func (p CountWords) Transform(data []byte, _ ...Flag) (string, error)

type CrockfordBase32Decode

type CrockfordBase32Decode struct{}

func (CrockfordBase32Decode) Alias

func (p CrockfordBase32Decode) Alias() []string

func (CrockfordBase32Decode) Description

func (p CrockfordBase32Decode) Description() string

func (CrockfordBase32Decode) FilterValue

func (p CrockfordBase32Decode) FilterValue() string

func (CrockfordBase32Decode) Flags

func (p CrockfordBase32Decode) Flags() []Flag

func (CrockfordBase32Decode) Name

func (p CrockfordBase32Decode) Name() string

func (CrockfordBase32Decode) Title

func (p CrockfordBase32Decode) Title() string

func (CrockfordBase32Decode) Transform

func (p CrockfordBase32Decode) Transform(data []byte, f ...Flag) (string, error)

type CrockfordBase32Encode

type CrockfordBase32Encode struct{}

func (CrockfordBase32Encode) Alias

func (p CrockfordBase32Encode) Alias() []string

func (CrockfordBase32Encode) Description

func (p CrockfordBase32Encode) Description() string

func (CrockfordBase32Encode) FilterValue

func (p CrockfordBase32Encode) FilterValue() string

func (CrockfordBase32Encode) Flags

func (p CrockfordBase32Encode) Flags() []Flag

func (CrockfordBase32Encode) Name

func (p CrockfordBase32Encode) Name() string

func (CrockfordBase32Encode) Title

func (p CrockfordBase32Encode) Title() string

func (CrockfordBase32Encode) Transform

func (p CrockfordBase32Encode) Transform(data []byte, f ...Flag) (string, error)

type Detect

type Detect struct{}

func (Detect) Alias

func (p Detect) Alias() []string

func (Detect) Description

func (p Detect) Description() string

func (Detect) FilterValue

func (p Detect) FilterValue() string

func (Detect) Flags

func (p Detect) Flags() []Flag

func (Detect) Name

func (p Detect) Name() string

func (Detect) Title

func (p Detect) Title() string

func (Detect) Transform

func (p Detect) Transform(data []byte, _ ...Flag) (string, error)

type Epoch

type Epoch struct{}

func (Epoch) Alias

func (p Epoch) Alias() []string

func (Epoch) Description

func (p Epoch) Description() string

func (Epoch) FilterValue

func (p Epoch) FilterValue() string

func (Epoch) Flags

func (p Epoch) Flags() []Flag

func (Epoch) Name

func (p Epoch) Name() string

func (Epoch) Title

func (p Epoch) Title() string

func (Epoch) Transform

func (p Epoch) Transform(data []byte, f ...Flag) (string, error)

type EscapeQuotes

type EscapeQuotes struct{}

func (EscapeQuotes) Alias

func (p EscapeQuotes) Alias() []string

func (EscapeQuotes) Description

func (p EscapeQuotes) Description() string

func (EscapeQuotes) FilterValue

func (p EscapeQuotes) FilterValue() string

func (EscapeQuotes) Flags

func (p EscapeQuotes) Flags() []Flag

func (EscapeQuotes) Name

func (p EscapeQuotes) Name() string

func (EscapeQuotes) Title

func (p EscapeQuotes) Title() string

func (EscapeQuotes) Transform

func (p EscapeQuotes) Transform(data []byte, f ...Flag) (string, error)

type ExtractEmails

type ExtractEmails struct{}

func (ExtractEmails) Alias

func (p ExtractEmails) Alias() []string

func (ExtractEmails) Description

func (p ExtractEmails) Description() string

func (ExtractEmails) FilterValue

func (p ExtractEmails) FilterValue() string

func (ExtractEmails) Flags

func (p ExtractEmails) Flags() []Flag

func (ExtractEmails) Name

func (p ExtractEmails) Name() string

func (ExtractEmails) Title

func (p ExtractEmails) Title() string

func (ExtractEmails) Transform

func (p ExtractEmails) Transform(data []byte, f ...Flag) (string, error)

type ExtractIPs

type ExtractIPs struct{}

func (ExtractIPs) Alias

func (p ExtractIPs) Alias() []string

func (ExtractIPs) Description

func (p ExtractIPs) Description() string

func (ExtractIPs) FilterValue

func (p ExtractIPs) FilterValue() string

func (ExtractIPs) Flags

func (p ExtractIPs) Flags() []Flag

func (ExtractIPs) Name

func (p ExtractIPs) Name() string

func (ExtractIPs) Title

func (p ExtractIPs) Title() string

func (ExtractIPs) Transform

func (p ExtractIPs) Transform(data []byte, _ ...Flag) (string, error)

type ExtractURLs

type ExtractURLs struct{}

func (ExtractURLs) Alias

func (p ExtractURLs) Alias() []string

func (ExtractURLs) Description

func (p ExtractURLs) Description() string

func (ExtractURLs) FilterValue

func (p ExtractURLs) FilterValue() string

func (ExtractURLs) Flags

func (p ExtractURLs) Flags() []Flag

func (ExtractURLs) Name

func (p ExtractURLs) Name() string

func (ExtractURLs) Title

func (p ExtractURLs) Title() string

func (ExtractURLs) Transform

func (p ExtractURLs) Transform(data []byte, _ ...Flag) (string, error)

type Flag

type Flag struct {
	Name      string
	Short     string
	Desc      string
	Type      FlagType
	Value     any
	Required  bool
	Sensitive bool
}

func (Flag) HelpLabel added in v1.1.0

func (f Flag) HelpLabel() string

type FlagType

type FlagType string
const (
	FlagInt    FlagType = "Int"
	FlagUint   FlagType = "Uint"
	FlagBool   FlagType = "Bool"
	FlagString FlagType = "String"
)

func (FlagType) IsString

func (f FlagType) IsString() bool

func (FlagType) String

func (f FlagType) String() string

type FormatJSON

type FormatJSON struct{}

func (FormatJSON) Alias

func (p FormatJSON) Alias() []string

func (FormatJSON) Description

func (p FormatJSON) Description() string

func (FormatJSON) FilterValue

func (p FormatJSON) FilterValue() string

func (FormatJSON) Flags

func (p FormatJSON) Flags() []Flag

func (FormatJSON) Name

func (p FormatJSON) Name() string

func (FormatJSON) Title

func (p FormatJSON) Title() string

func (FormatJSON) Transform

func (p FormatJSON) Transform(data []byte, f ...Flag) (string, error)

type Generator

type Generator interface {
	IsGenerator() bool
}

type Grep

type Grep struct{}

func (Grep) Alias

func (p Grep) Alias() []string

func (Grep) Description

func (p Grep) Description() string

func (Grep) FilterValue

func (p Grep) FilterValue() string

func (Grep) Flags

func (p Grep) Flags() []Flag

func (Grep) Name

func (p Grep) Name() string

func (Grep) Title

func (p Grep) Title() string

func (Grep) Transform

func (p Grep) Transform(data []byte, f ...Flag) (string, error)

type HMACSHA256

type HMACSHA256 struct{}

func (HMACSHA256) Alias

func (p HMACSHA256) Alias() []string

func (HMACSHA256) Description

func (p HMACSHA256) Description() string

func (HMACSHA256) FilterValue

func (p HMACSHA256) FilterValue() string

func (HMACSHA256) Flags

func (p HMACSHA256) Flags() []Flag

func (HMACSHA256) Name

func (p HMACSHA256) Name() string

func (HMACSHA256) Title

func (p HMACSHA256) Title() string

func (HMACSHA256) Transform

func (p HMACSHA256) Transform(data []byte, f ...Flag) (string, error)

type HMACSHA512

type HMACSHA512 struct{}

func (HMACSHA512) Alias

func (p HMACSHA512) Alias() []string

func (HMACSHA512) Description

func (p HMACSHA512) Description() string

func (HMACSHA512) FilterValue

func (p HMACSHA512) FilterValue() string

func (HMACSHA512) Flags

func (p HMACSHA512) Flags() []Flag

func (HMACSHA512) Name

func (p HMACSHA512) Name() string

func (HMACSHA512) Title

func (p HMACSHA512) Title() string

func (HMACSHA512) Transform

func (p HMACSHA512) Transform(data []byte, f ...Flag) (string, error)

type HSLToHex

type HSLToHex struct{}

func (HSLToHex) Alias

func (p HSLToHex) Alias() []string

func (HSLToHex) Description

func (p HSLToHex) Description() string

func (HSLToHex) FilterValue

func (p HSLToHex) FilterValue() string

func (HSLToHex) Flags

func (p HSLToHex) Flags() []Flag

func (HSLToHex) Name

func (p HSLToHex) Name() string

func (HSLToHex) Title

func (p HSLToHex) Title() string

func (HSLToHex) Transform

func (p HSLToHex) Transform(data []byte, _ ...Flag) (string, error)

type HTMLDecode

type HTMLDecode struct{}

func (HTMLDecode) Alias

func (p HTMLDecode) Alias() []string

func (HTMLDecode) Description

func (p HTMLDecode) Description() string

func (HTMLDecode) FilterValue

func (p HTMLDecode) FilterValue() string

func (HTMLDecode) Flags

func (p HTMLDecode) Flags() []Flag

func (HTMLDecode) Name

func (p HTMLDecode) Name() string

func (HTMLDecode) Title

func (p HTMLDecode) Title() string

func (HTMLDecode) Transform

func (p HTMLDecode) Transform(data []byte, _ ...Flag) (string, error)

type HTMLEncode

type HTMLEncode struct{}

func (HTMLEncode) Alias

func (p HTMLEncode) Alias() []string

func (HTMLEncode) Description

func (p HTMLEncode) Description() string

func (HTMLEncode) FilterValue

func (p HTMLEncode) FilterValue() string

func (HTMLEncode) Flags

func (p HTMLEncode) Flags() []Flag

func (HTMLEncode) Name

func (p HTMLEncode) Name() string

func (HTMLEncode) Title

func (p HTMLEncode) Title() string

func (HTMLEncode) Transform

func (p HTMLEncode) Transform(data []byte, _ ...Flag) (string, error)

type HexDecode

type HexDecode struct{}

func (HexDecode) Alias

func (p HexDecode) Alias() []string

func (HexDecode) Description

func (p HexDecode) Description() string

func (HexDecode) FilterValue

func (p HexDecode) FilterValue() string

func (HexDecode) Flags

func (p HexDecode) Flags() []Flag

func (HexDecode) Name

func (p HexDecode) Name() string

func (HexDecode) StreamingSpec added in v1.1.0

func (p HexDecode) StreamingSpec() StreamingSpec

func (HexDecode) Title

func (p HexDecode) Title() string

func (HexDecode) Transform

func (p HexDecode) Transform(data []byte, _ ...Flag) (string, error)

type HexEncode

type HexEncode struct{}

func (HexEncode) Alias

func (p HexEncode) Alias() []string

func (HexEncode) Description

func (p HexEncode) Description() string

func (HexEncode) FilterValue

func (p HexEncode) FilterValue() string

func (HexEncode) Flags

func (p HexEncode) Flags() []Flag

func (HexEncode) Name

func (p HexEncode) Name() string

func (HexEncode) StreamingSpec added in v1.1.0

func (p HexEncode) StreamingSpec() StreamingSpec

func (HexEncode) Title

func (p HexEncode) Title() string

func (HexEncode) Transform

func (p HexEncode) Transform(data []byte, _ ...Flag) (string, error)

type HexToRGB

type HexToRGB struct{}

func (HexToRGB) Alias

func (p HexToRGB) Alias() []string

func (HexToRGB) Description

func (p HexToRGB) Description() string

func (HexToRGB) FilterValue

func (p HexToRGB) FilterValue() string

func (HexToRGB) Flags

func (p HexToRGB) Flags() []Flag

func (HexToRGB) Name

func (p HexToRGB) Name() string

func (HexToRGB) Title

func (p HexToRGB) Title() string

func (HexToRGB) Transform

func (p HexToRGB) Transform(data []byte, _ ...Flag) (string, error)

type JSONEscape

type JSONEscape struct{}

func (JSONEscape) Alias

func (p JSONEscape) Alias() []string

func (JSONEscape) Description

func (p JSONEscape) Description() string

func (JSONEscape) FilterValue

func (p JSONEscape) FilterValue() string

func (JSONEscape) Flags

func (p JSONEscape) Flags() []Flag

func (JSONEscape) Name

func (p JSONEscape) Name() string

func (JSONEscape) Title

func (p JSONEscape) Title() string

func (JSONEscape) Transform

func (p JSONEscape) Transform(data []byte, _ ...Flag) (string, error)

type JSONLToJSON

type JSONLToJSON struct{}

func (JSONLToJSON) Alias

func (p JSONLToJSON) Alias() []string

func (JSONLToJSON) Description

func (p JSONLToJSON) Description() string

func (JSONLToJSON) FilterValue

func (p JSONLToJSON) FilterValue() string

func (JSONLToJSON) Flags

func (p JSONLToJSON) Flags() []Flag

func (JSONLToJSON) Name

func (p JSONLToJSON) Name() string

func (JSONLToJSON) Title

func (p JSONLToJSON) Title() string

func (JSONLToJSON) Transform

func (p JSONLToJSON) Transform(data []byte, _ ...Flag) (string, error)

type JSONMinify

type JSONMinify struct{}

func (JSONMinify) Alias

func (p JSONMinify) Alias() []string

func (JSONMinify) Description

func (p JSONMinify) Description() string

func (JSONMinify) FilterValue

func (p JSONMinify) FilterValue() string

func (JSONMinify) Flags

func (p JSONMinify) Flags() []Flag

func (JSONMinify) Name

func (p JSONMinify) Name() string

func (JSONMinify) Title

func (p JSONMinify) Title() string

func (JSONMinify) Transform

func (p JSONMinify) Transform(data []byte, _ ...Flag) (string, error)

type JSONToCSV

type JSONToCSV struct{}

func (JSONToCSV) Alias

func (p JSONToCSV) Alias() []string

func (JSONToCSV) Description

func (p JSONToCSV) Description() string

func (JSONToCSV) FilterValue

func (p JSONToCSV) FilterValue() string

func (JSONToCSV) Flags

func (p JSONToCSV) Flags() []Flag

func (JSONToCSV) Name

func (p JSONToCSV) Name() string

func (JSONToCSV) Title

func (p JSONToCSV) Title() string

func (JSONToCSV) Transform

func (p JSONToCSV) Transform(data []byte, _ ...Flag) (string, error)

type JSONToMSGPACK

type JSONToMSGPACK struct{}

func (JSONToMSGPACK) Alias

func (p JSONToMSGPACK) Alias() []string

func (JSONToMSGPACK) Description

func (p JSONToMSGPACK) Description() string

func (JSONToMSGPACK) FilterValue

func (p JSONToMSGPACK) FilterValue() string

func (JSONToMSGPACK) Flags

func (p JSONToMSGPACK) Flags() []Flag

func (JSONToMSGPACK) Name

func (p JSONToMSGPACK) Name() string

func (JSONToMSGPACK) Title

func (p JSONToMSGPACK) Title() string

func (JSONToMSGPACK) Transform

func (p JSONToMSGPACK) Transform(data []byte, _ ...Flag) (string, error)

type JSONToTOML

type JSONToTOML struct{}

func (JSONToTOML) Alias

func (p JSONToTOML) Alias() []string

func (JSONToTOML) Description

func (p JSONToTOML) Description() string

func (JSONToTOML) FilterValue

func (p JSONToTOML) FilterValue() string

func (JSONToTOML) Flags

func (p JSONToTOML) Flags() []Flag

func (JSONToTOML) Name

func (p JSONToTOML) Name() string

func (JSONToTOML) Title

func (p JSONToTOML) Title() string

func (JSONToTOML) Transform

func (p JSONToTOML) Transform(data []byte, _ ...Flag) (string, error)

type JSONToXML

type JSONToXML struct{}

func (JSONToXML) Alias

func (p JSONToXML) Alias() []string

func (JSONToXML) Description

func (p JSONToXML) Description() string

func (JSONToXML) FilterValue

func (p JSONToXML) FilterValue() string

func (JSONToXML) Flags

func (p JSONToXML) Flags() []Flag

func (JSONToXML) Name

func (p JSONToXML) Name() string

func (JSONToXML) Title

func (p JSONToXML) Title() string

func (JSONToXML) Transform

func (p JSONToXML) Transform(data []byte, f ...Flag) (string, error)

type JSONToYAML

type JSONToYAML struct{}

func (JSONToYAML) Alias

func (p JSONToYAML) Alias() []string

func (JSONToYAML) Description

func (p JSONToYAML) Description() string

func (JSONToYAML) FilterValue

func (p JSONToYAML) FilterValue() string

func (JSONToYAML) Flags

func (p JSONToYAML) Flags() []Flag

func (JSONToYAML) Name

func (p JSONToYAML) Name() string

func (JSONToYAML) Title

func (p JSONToYAML) Title() string

func (JSONToYAML) Transform

func (p JSONToYAML) Transform(data []byte, _ ...Flag) (string, error)

type JSONUnescape

type JSONUnescape struct{}

func (JSONUnescape) Alias

func (p JSONUnescape) Alias() []string

func (JSONUnescape) Description

func (p JSONUnescape) Description() string

func (JSONUnescape) FilterValue

func (p JSONUnescape) FilterValue() string

func (JSONUnescape) Flags

func (p JSONUnescape) Flags() []Flag

func (JSONUnescape) Name

func (p JSONUnescape) Name() string

func (JSONUnescape) Title

func (p JSONUnescape) Title() string

func (JSONUnescape) Transform

func (p JSONUnescape) Transform(data []byte, f ...Flag) (string, error)

type JWTDecode

type JWTDecode struct{}

func (JWTDecode) Alias

func (p JWTDecode) Alias() []string

func (JWTDecode) Description

func (p JWTDecode) Description() string

func (JWTDecode) FilterValue

func (p JWTDecode) FilterValue() string

func (JWTDecode) Flags

func (p JWTDecode) Flags() []Flag

func (JWTDecode) Name

func (p JWTDecode) Name() string

func (JWTDecode) Title

func (p JWTDecode) Title() string

func (JWTDecode) Transform

func (p JWTDecode) Transform(data []byte, _ ...Flag) (string, error)

type JWTEncode

type JWTEncode struct{}

func (JWTEncode) Alias

func (p JWTEncode) Alias() []string

func (JWTEncode) Description

func (p JWTEncode) Description() string

func (JWTEncode) FilterValue

func (p JWTEncode) FilterValue() string

func (JWTEncode) Flags

func (p JWTEncode) Flags() []Flag

func (JWTEncode) Name

func (p JWTEncode) Name() string

func (JWTEncode) Title

func (p JWTEncode) Title() string

func (JWTEncode) Transform

func (p JWTEncode) Transform(data []byte, f ...Flag) (string, error)

type Kebab

type Kebab struct{}

func (Kebab) Alias

func (p Kebab) Alias() []string

func (Kebab) Description

func (p Kebab) Description() string

func (Kebab) FilterValue

func (p Kebab) FilterValue() string

func (Kebab) Flags

func (p Kebab) Flags() []Flag

func (Kebab) Name

func (p Kebab) Name() string

func (Kebab) Title

func (p Kebab) Title() string

func (Kebab) Transform

func (p Kebab) Transform(data []byte, _ ...Flag) (string, error)

type Lorem

type Lorem struct{}

func (Lorem) Alias

func (p Lorem) Alias() []string

func (Lorem) Description

func (p Lorem) Description() string

func (Lorem) FilterValue

func (p Lorem) FilterValue() string

func (Lorem) Flags

func (p Lorem) Flags() []Flag

func (Lorem) IsGenerator

func (p Lorem) IsGenerator() bool

func (Lorem) Name

func (p Lorem) Name() string

func (Lorem) Title

func (p Lorem) Title() string

func (Lorem) Transform

func (p Lorem) Transform(_ []byte, f ...Flag) (string, error)

type Lower

type Lower struct{}

func (Lower) Alias

func (p Lower) Alias() []string

func (Lower) Description

func (p Lower) Description() string

func (Lower) FilterValue

func (p Lower) FilterValue() string

func (Lower) Flags

func (p Lower) Flags() []Flag

func (Lower) Name

func (p Lower) Name() string

func (Lower) StreamingSpec added in v1.1.0

func (p Lower) StreamingSpec() StreamingSpec

func (Lower) Title

func (p Lower) Title() string

func (Lower) Transform

func (p Lower) Transform(data []byte, _ ...Flag) (string, error)

type MD5

type MD5 struct{}

func (MD5) Alias

func (p MD5) Alias() []string

func (MD5) Description

func (p MD5) Description() string

func (MD5) FilterValue

func (p MD5) FilterValue() string

func (MD5) Flags

func (p MD5) Flags() []Flag

func (MD5) Name

func (p MD5) Name() string

func (MD5) StreamingSpec added in v1.1.0

func (p MD5) StreamingSpec() StreamingSpec

func (MD5) Title

func (p MD5) Title() string

func (MD5) Transform

func (p MD5) Transform(data []byte, _ ...Flag) (string, error)

type MSGPACKToJSON

type MSGPACKToJSON struct{}

func (MSGPACKToJSON) Alias

func (p MSGPACKToJSON) Alias() []string

func (MSGPACKToJSON) Description

func (p MSGPACKToJSON) Description() string

func (MSGPACKToJSON) FilterValue

func (p MSGPACKToJSON) FilterValue() string

func (MSGPACKToJSON) Flags

func (p MSGPACKToJSON) Flags() []Flag

func (MSGPACKToJSON) Name

func (p MSGPACKToJSON) Name() string

func (MSGPACKToJSON) Title

func (p MSGPACKToJSON) Title() string

func (MSGPACKToJSON) Transform

func (p MSGPACKToJSON) Transform(data []byte, _ ...Flag) (string, error)

type Markdown

type Markdown struct{}

func (Markdown) Alias

func (p Markdown) Alias() []string

func (Markdown) Description

func (p Markdown) Description() string

func (Markdown) FilterValue

func (p Markdown) FilterValue() string

func (Markdown) Flags

func (p Markdown) Flags() []Flag

func (Markdown) Name

func (p Markdown) Name() string

func (Markdown) Title

func (p Markdown) Title() string

func (Markdown) Transform

func (p Markdown) Transform(data []byte, _ ...Flag) (string, error)

type MorseCodeDecode

type MorseCodeDecode struct{}

func (MorseCodeDecode) Alias

func (p MorseCodeDecode) Alias() []string

func (MorseCodeDecode) Description

func (p MorseCodeDecode) Description() string

func (MorseCodeDecode) FilterValue

func (p MorseCodeDecode) FilterValue() string

func (MorseCodeDecode) Flags

func (p MorseCodeDecode) Flags() []Flag

func (MorseCodeDecode) Name

func (p MorseCodeDecode) Name() string

func (MorseCodeDecode) Title

func (p MorseCodeDecode) Title() string

func (MorseCodeDecode) Transform

func (p MorseCodeDecode) Transform(data []byte, _ ...Flag) (string, error)

type MorseCodeEncode

type MorseCodeEncode struct{}

func (MorseCodeEncode) Alias

func (p MorseCodeEncode) Alias() []string

func (MorseCodeEncode) Description

func (p MorseCodeEncode) Description() string

func (MorseCodeEncode) FilterValue

func (p MorseCodeEncode) FilterValue() string

func (MorseCodeEncode) Flags

func (p MorseCodeEncode) Flags() []Flag

func (MorseCodeEncode) Name

func (p MorseCodeEncode) Name() string

func (MorseCodeEncode) Title

func (p MorseCodeEncode) Title() string

func (MorseCodeEncode) Transform

func (p MorseCodeEncode) Transform(data []byte, _ ...Flag) (string, error)

type NanoID

type NanoID struct{}

func (NanoID) Alias

func (p NanoID) Alias() []string

func (NanoID) Description

func (p NanoID) Description() string

func (NanoID) FilterValue

func (p NanoID) FilterValue() string

func (NanoID) Flags

func (p NanoID) Flags() []Flag

func (NanoID) IsGenerator

func (p NanoID) IsGenerator() bool

func (NanoID) Name

func (p NanoID) Name() string

func (NanoID) Title

func (p NanoID) Title() string

func (NanoID) Transform

func (p NanoID) Transform(_ []byte, f ...Flag) (string, error)

type NativeStreamProcessor added in v1.1.0

type NativeStreamProcessor interface {
	Processor
	TransformStream(reader io.Reader, writer io.Writer, opts ...Flag) error
}

type Now

type Now struct{}

func (Now) Alias

func (p Now) Alias() []string

func (Now) Description

func (p Now) Description() string

func (Now) FilterValue

func (p Now) FilterValue() string

func (Now) Flags

func (p Now) Flags() []Flag

func (Now) IsGenerator

func (p Now) IsGenerator() bool

func (Now) Name

func (p Now) Name() string

func (Now) Title

func (p Now) Title() string

func (Now) Transform

func (p Now) Transform(_ []byte, f ...Flag) (string, error)

type NumberLines

type NumberLines struct{}

func (NumberLines) Alias

func (p NumberLines) Alias() []string

func (NumberLines) Description

func (p NumberLines) Description() string

func (NumberLines) FilterValue

func (p NumberLines) FilterValue() string

func (NumberLines) Flags

func (p NumberLines) Flags() []Flag

func (NumberLines) Name

func (p NumberLines) Name() string

func (NumberLines) StreamingSpec added in v1.1.0

func (p NumberLines) StreamingSpec() StreamingSpec

func (NumberLines) Title

func (p NumberLines) Title() string

func (NumberLines) Transform

func (p NumberLines) Transform(data []byte, _ ...Flag) (string, error)

type PadLeft

type PadLeft struct{}

func (PadLeft) Alias

func (p PadLeft) Alias() []string

func (PadLeft) Description

func (p PadLeft) Description() string

func (PadLeft) FilterValue

func (p PadLeft) FilterValue() string

func (PadLeft) Flags

func (p PadLeft) Flags() []Flag

func (PadLeft) Name

func (p PadLeft) Name() string

func (PadLeft) Title

func (p PadLeft) Title() string

func (PadLeft) Transform

func (p PadLeft) Transform(data []byte, f ...Flag) (string, error)

type PadRight

type PadRight struct{}

func (PadRight) Alias

func (p PadRight) Alias() []string

func (PadRight) Description

func (p PadRight) Description() string

func (PadRight) FilterValue

func (p PadRight) FilterValue() string

func (PadRight) Flags

func (p PadRight) Flags() []Flag

func (PadRight) Name

func (p PadRight) Name() string

func (PadRight) Title

func (p PadRight) Title() string

func (PadRight) Transform

func (p PadRight) Transform(data []byte, f ...Flag) (string, error)

type Pascal

type Pascal struct{}

func (Pascal) Alias

func (p Pascal) Alias() []string

func (Pascal) Description

func (p Pascal) Description() string

func (Pascal) FilterValue

func (p Pascal) FilterValue() string

func (Pascal) Flags

func (p Pascal) Flags() []Flag

func (Pascal) Name

func (p Pascal) Name() string

func (Pascal) Title

func (p Pascal) Title() string

func (Pascal) Transform

func (p Pascal) Transform(data []byte, _ ...Flag) (string, error)

type PasswordGen

type PasswordGen struct{}

func (PasswordGen) Alias

func (p PasswordGen) Alias() []string

func (PasswordGen) Description

func (p PasswordGen) Description() string

func (PasswordGen) FilterValue

func (p PasswordGen) FilterValue() string

func (PasswordGen) Flags

func (p PasswordGen) Flags() []Flag

func (PasswordGen) IsGenerator

func (p PasswordGen) IsGenerator() bool

func (PasswordGen) Name

func (p PasswordGen) Name() string

func (PasswordGen) Title

func (p PasswordGen) Title() string

func (PasswordGen) Transform

func (p PasswordGen) Transform(_ []byte, f ...Flag) (string, error)

type Processor

type Processor interface {
	Name() string
	Alias() []string
	Transform(data []byte, opts ...Flag) (string, error)
	Flags() []Flag
}

type QRCode

type QRCode struct{}

func (QRCode) Alias

func (p QRCode) Alias() []string

func (QRCode) Description

func (p QRCode) Description() string

func (QRCode) FilterValue

func (p QRCode) FilterValue() string

func (QRCode) Flags

func (p QRCode) Flags() []Flag

func (QRCode) Name

func (p QRCode) Name() string

func (QRCode) StreamingSpec added in v1.1.0

func (p QRCode) StreamingSpec() StreamingSpec

func (QRCode) Title

func (p QRCode) Title() string

func (QRCode) Transform

func (p QRCode) Transform(data []byte, f ...Flag) (string, error)

type RGBToHex

type RGBToHex struct{}

func (RGBToHex) Alias

func (p RGBToHex) Alias() []string

func (RGBToHex) Description

func (p RGBToHex) Description() string

func (RGBToHex) FilterValue

func (p RGBToHex) FilterValue() string

func (RGBToHex) Flags

func (p RGBToHex) Flags() []Flag

func (RGBToHex) Name

func (p RGBToHex) Name() string

func (RGBToHex) Title

func (p RGBToHex) Title() string

func (RGBToHex) Transform

func (p RGBToHex) Transform(data []byte, _ ...Flag) (string, error)

type ROT13

type ROT13 struct{}

func (ROT13) Alias

func (p ROT13) Alias() []string

func (ROT13) Description

func (p ROT13) Description() string

func (ROT13) FilterValue

func (p ROT13) FilterValue() string

func (ROT13) Flags

func (p ROT13) Flags() []Flag

func (ROT13) Name

func (p ROT13) Name() string

func (ROT13) Title

func (p ROT13) Title() string

func (ROT13) Transform

func (p ROT13) Transform(data []byte, _ ...Flag) (string, error)

type RegexMatch

type RegexMatch struct{}

func (RegexMatch) Alias

func (p RegexMatch) Alias() []string

func (RegexMatch) Description

func (p RegexMatch) Description() string

func (RegexMatch) FilterValue

func (p RegexMatch) FilterValue() string

func (RegexMatch) Flags

func (p RegexMatch) Flags() []Flag

func (RegexMatch) Name

func (p RegexMatch) Name() string

func (RegexMatch) Title

func (p RegexMatch) Title() string

func (RegexMatch) Transform

func (p RegexMatch) Transform(data []byte, f ...Flag) (string, error)

type RegexReplace

type RegexReplace struct{}

func (RegexReplace) Alias

func (p RegexReplace) Alias() []string

func (RegexReplace) Description

func (p RegexReplace) Description() string

func (RegexReplace) FilterValue

func (p RegexReplace) FilterValue() string

func (RegexReplace) Flags

func (p RegexReplace) Flags() []Flag

func (RegexReplace) Name

func (p RegexReplace) Name() string

func (RegexReplace) Title

func (p RegexReplace) Title() string

func (RegexReplace) Transform

func (p RegexReplace) Transform(data []byte, f ...Flag) (string, error)

type RemoveNewLines

type RemoveNewLines struct{}

func (RemoveNewLines) Alias

func (p RemoveNewLines) Alias() []string

func (RemoveNewLines) Description

func (p RemoveNewLines) Description() string

func (RemoveNewLines) FilterValue

func (p RemoveNewLines) FilterValue() string

func (RemoveNewLines) Flags

func (p RemoveNewLines) Flags() []Flag

func (RemoveNewLines) Name

func (p RemoveNewLines) Name() string

func (RemoveNewLines) Title

func (p RemoveNewLines) Title() string

func (RemoveNewLines) Transform

func (p RemoveNewLines) Transform(data []byte, f ...Flag) (string, error)

type RemoveSpaces

type RemoveSpaces struct{}

func (RemoveSpaces) Alias

func (p RemoveSpaces) Alias() []string

func (RemoveSpaces) Description

func (p RemoveSpaces) Description() string

func (RemoveSpaces) FilterValue

func (p RemoveSpaces) FilterValue() string

func (RemoveSpaces) Flags

func (p RemoveSpaces) Flags() []Flag

func (RemoveSpaces) Name

func (p RemoveSpaces) Name() string

func (RemoveSpaces) Title

func (p RemoveSpaces) Title() string

func (RemoveSpaces) Transform

func (p RemoveSpaces) Transform(data []byte, f ...Flag) (string, error)

type Repeat

type Repeat struct{}

func (Repeat) Alias

func (p Repeat) Alias() []string

func (Repeat) Description

func (p Repeat) Description() string

func (Repeat) FilterValue

func (p Repeat) FilterValue() string

func (Repeat) Flags

func (p Repeat) Flags() []Flag

func (Repeat) Name

func (p Repeat) Name() string

func (Repeat) Title

func (p Repeat) Title() string

func (Repeat) Transform

func (p Repeat) Transform(data []byte, f ...Flag) (string, error)

type ReplaceText

type ReplaceText struct{}

func (ReplaceText) Alias

func (p ReplaceText) Alias() []string

func (ReplaceText) Description

func (p ReplaceText) Description() string

func (ReplaceText) FilterValue

func (p ReplaceText) FilterValue() string

func (ReplaceText) Flags

func (p ReplaceText) Flags() []Flag

func (ReplaceText) Name

func (p ReplaceText) Name() string

func (ReplaceText) Title

func (p ReplaceText) Title() string

func (ReplaceText) Transform

func (p ReplaceText) Transform(data []byte, f ...Flag) (string, error)

type Reverse

type Reverse struct{}

func (Reverse) Alias

func (p Reverse) Alias() []string

func (Reverse) Description

func (p Reverse) Description() string

func (Reverse) FilterValue

func (p Reverse) FilterValue() string

func (Reverse) Flags

func (p Reverse) Flags() []Flag

func (Reverse) Name

func (p Reverse) Name() string

func (Reverse) Title

func (p Reverse) Title() string

func (Reverse) Transform

func (p Reverse) Transform(data []byte, _ ...Flag) (string, error)

type ReverseLines

type ReverseLines struct{}

func (ReverseLines) Alias

func (p ReverseLines) Alias() []string

func (ReverseLines) Description

func (p ReverseLines) Description() string

func (ReverseLines) FilterValue

func (p ReverseLines) FilterValue() string

func (ReverseLines) Flags

func (p ReverseLines) Flags() []Flag

func (ReverseLines) Name

func (p ReverseLines) Name() string

func (ReverseLines) StreamingSpec added in v1.1.0

func (p ReverseLines) StreamingSpec() StreamingSpec

func (ReverseLines) Title

func (p ReverseLines) Title() string

func (ReverseLines) Transform

func (p ReverseLines) Transform(data []byte, _ ...Flag) (string, error)

type SHA1

type SHA1 struct{}

func (SHA1) Alias

func (p SHA1) Alias() []string

func (SHA1) Description

func (p SHA1) Description() string

func (SHA1) FilterValue

func (p SHA1) FilterValue() string

func (SHA1) Flags

func (p SHA1) Flags() []Flag

func (SHA1) Name

func (p SHA1) Name() string

func (SHA1) StreamingSpec added in v1.1.0

func (p SHA1) StreamingSpec() StreamingSpec

func (SHA1) Title

func (p SHA1) Title() string

func (SHA1) Transform

func (p SHA1) Transform(data []byte, _ ...Flag) (string, error)

type SHA224

type SHA224 struct{}

func (SHA224) Alias

func (p SHA224) Alias() []string

func (SHA224) Description

func (p SHA224) Description() string

func (SHA224) FilterValue

func (p SHA224) FilterValue() string

func (SHA224) Flags

func (p SHA224) Flags() []Flag

func (SHA224) Name

func (p SHA224) Name() string

func (SHA224) StreamingSpec added in v1.1.0

func (p SHA224) StreamingSpec() StreamingSpec

func (SHA224) Title

func (p SHA224) Title() string

func (SHA224) Transform

func (p SHA224) Transform(data []byte, _ ...Flag) (string, error)

type SHA256

type SHA256 struct{}

func (SHA256) Alias

func (p SHA256) Alias() []string

func (SHA256) Description

func (p SHA256) Description() string

func (SHA256) FilterValue

func (p SHA256) FilterValue() string

func (SHA256) Flags

func (p SHA256) Flags() []Flag

func (SHA256) Name

func (p SHA256) Name() string

func (SHA256) StreamingSpec added in v1.1.0

func (p SHA256) StreamingSpec() StreamingSpec

func (SHA256) Title

func (p SHA256) Title() string

func (SHA256) Transform

func (p SHA256) Transform(data []byte, _ ...Flag) (string, error)

type SHA384

type SHA384 struct{}

func (SHA384) Alias

func (p SHA384) Alias() []string

func (SHA384) Description

func (p SHA384) Description() string

func (SHA384) FilterValue

func (p SHA384) FilterValue() string

func (SHA384) Flags

func (p SHA384) Flags() []Flag

func (SHA384) Name

func (p SHA384) Name() string

func (SHA384) StreamingSpec added in v1.1.0

func (p SHA384) StreamingSpec() StreamingSpec

func (SHA384) Title

func (p SHA384) Title() string

func (SHA384) Transform

func (p SHA384) Transform(data []byte, _ ...Flag) (string, error)

type SHA512

type SHA512 struct{}

func (SHA512) Alias

func (p SHA512) Alias() []string

func (SHA512) Description

func (p SHA512) Description() string

func (SHA512) FilterValue

func (p SHA512) FilterValue() string

func (SHA512) Flags

func (p SHA512) Flags() []Flag

func (SHA512) Name

func (p SHA512) Name() string

func (SHA512) StreamingSpec added in v1.1.0

func (p SHA512) StreamingSpec() StreamingSpec

func (SHA512) Title

func (p SHA512) Title() string

func (SHA512) Transform

func (p SHA512) Transform(data []byte, _ ...Flag) (string, error)

type ShuffleLines

type ShuffleLines struct{}

func (ShuffleLines) Alias

func (p ShuffleLines) Alias() []string

func (ShuffleLines) Description

func (p ShuffleLines) Description() string

func (ShuffleLines) FilterValue

func (p ShuffleLines) FilterValue() string

func (ShuffleLines) Flags

func (p ShuffleLines) Flags() []Flag

func (ShuffleLines) Name

func (p ShuffleLines) Name() string

func (ShuffleLines) Title

func (p ShuffleLines) Title() string

func (ShuffleLines) Transform

func (p ShuffleLines) Transform(data []byte, _ ...Flag) (string, error)

type Slug

type Slug struct{}

func (Slug) Alias

func (p Slug) Alias() []string

func (Slug) Description

func (p Slug) Description() string

func (Slug) FilterValue

func (p Slug) FilterValue() string

func (Slug) Flags

func (p Slug) Flags() []Flag

func (Slug) Name

func (p Slug) Name() string

func (Slug) Title

func (p Slug) Title() string

func (Slug) Transform

func (p Slug) Transform(data []byte, _ ...Flag) (string, error)

type Snake

type Snake struct{}

func (Snake) Alias

func (p Snake) Alias() []string

func (Snake) Description

func (p Snake) Description() string

func (Snake) FilterValue

func (p Snake) FilterValue() string

func (Snake) Flags

func (p Snake) Flags() []Flag

func (Snake) Name

func (p Snake) Name() string

func (Snake) Title

func (p Snake) Title() string

func (Snake) Transform

func (p Snake) Transform(data []byte, _ ...Flag) (string, error)

type SortLines

type SortLines struct{}

func (SortLines) Alias

func (p SortLines) Alias() []string

func (SortLines) Description

func (p SortLines) Description() string

func (SortLines) FilterValue

func (p SortLines) FilterValue() string

func (SortLines) Flags

func (p SortLines) Flags() []Flag

func (SortLines) Name

func (p SortLines) Name() string

func (SortLines) StreamingSpec added in v1.1.0

func (p SortLines) StreamingSpec() StreamingSpec

func (SortLines) Title

func (p SortLines) Title() string

func (SortLines) Transform

func (p SortLines) Transform(data []byte, _ ...Flag) (string, error)

type StreamConfigurable added in v1.1.0

type StreamConfigurable interface {
	Processor
	StreamingSpec() StreamingSpec
}

type StreamingMode added in v1.1.0

type StreamingMode string
const (
	StreamingModeNone     StreamingMode = "none"
	StreamingModeBuffered StreamingMode = "buffered"
	StreamingModeChunked  StreamingMode = "chunked"
	StreamingModeLine     StreamingMode = "line"
	StreamingModeNative   StreamingMode = "native"
)

type StreamingSpec added in v1.1.0

type StreamingSpec struct {
	Mode      StreamingMode
	ChunkSize int
	Prefer    bool
}

func GetStreamingSpec added in v1.1.0

func GetStreamingSpec(processor Processor) StreamingSpec

type TOMLToJSON

type TOMLToJSON struct{}

func (TOMLToJSON) Alias

func (p TOMLToJSON) Alias() []string

func (TOMLToJSON) Description

func (p TOMLToJSON) Description() string

func (TOMLToJSON) FilterValue

func (p TOMLToJSON) FilterValue() string

func (TOMLToJSON) Flags

func (p TOMLToJSON) Flags() []Flag

func (TOMLToJSON) Name

func (p TOMLToJSON) Name() string

func (TOMLToJSON) Title

func (p TOMLToJSON) Title() string

func (TOMLToJSON) Transform

func (p TOMLToJSON) Transform(data []byte, f ...Flag) (string, error)

type TOTP

type TOTP struct{}

func (TOTP) Alias

func (p TOTP) Alias() []string

func (TOTP) Description

func (p TOTP) Description() string

func (TOTP) FilterValue

func (p TOTP) FilterValue() string

func (TOTP) Flags

func (p TOTP) Flags() []Flag

func (TOTP) Name

func (p TOTP) Name() string

func (TOTP) Title

func (p TOTP) Title() string

func (TOTP) Transform

func (p TOTP) Transform(data []byte, f ...Flag) (string, error)

type Title

type Title struct{}

func (Title) Alias

func (p Title) Alias() []string

func (Title) Description

func (p Title) Description() string

func (Title) FilterValue

func (p Title) FilterValue() string

func (Title) Flags

func (p Title) Flags() []Flag

func (Title) Name

func (p Title) Name() string

func (Title) Title

func (p Title) Title() string

func (Title) Transform

func (p Title) Transform(data []byte, _ ...Flag) (string, error)

type Trim

type Trim struct{}

func (Trim) Alias

func (p Trim) Alias() []string

func (Trim) Description

func (p Trim) Description() string

func (Trim) FilterValue

func (p Trim) FilterValue() string

func (Trim) Flags

func (p Trim) Flags() []Flag

func (Trim) Name

func (p Trim) Name() string

func (Trim) Title

func (p Trim) Title() string

func (Trim) Transform

func (p Trim) Transform(data []byte, _ ...Flag) (string, error)

type ULID

type ULID struct{}

func (ULID) Alias

func (p ULID) Alias() []string

func (ULID) Description

func (p ULID) Description() string

func (ULID) FilterValue

func (p ULID) FilterValue() string

func (ULID) Flags

func (p ULID) Flags() []Flag

func (ULID) IsGenerator

func (p ULID) IsGenerator() bool

func (ULID) Name

func (p ULID) Name() string

func (ULID) Title

func (p ULID) Title() string

func (ULID) Transform

func (p ULID) Transform(_ []byte, _ ...Flag) (string, error)

type URLDecode

type URLDecode struct{}

func (URLDecode) Alias

func (p URLDecode) Alias() []string

func (URLDecode) Description

func (p URLDecode) Description() string

func (URLDecode) FilterValue

func (p URLDecode) FilterValue() string

func (URLDecode) Flags

func (p URLDecode) Flags() []Flag

func (URLDecode) Name

func (p URLDecode) Name() string

func (URLDecode) Title

func (p URLDecode) Title() string

func (URLDecode) Transform

func (p URLDecode) Transform(data []byte, _ ...Flag) (string, error)

type URLEncode

type URLEncode struct{}

func (URLEncode) Alias

func (p URLEncode) Alias() []string

func (URLEncode) Description

func (p URLEncode) Description() string

func (URLEncode) FilterValue

func (p URLEncode) FilterValue() string

func (URLEncode) Flags

func (p URLEncode) Flags() []Flag

func (URLEncode) Name

func (p URLEncode) Name() string

func (URLEncode) Title

func (p URLEncode) Title() string

func (URLEncode) Transform

func (p URLEncode) Transform(data []byte, _ ...Flag) (string, error)

type UUID

type UUID struct{}

func (UUID) Alias

func (p UUID) Alias() []string

func (UUID) Description

func (p UUID) Description() string

func (UUID) FilterValue

func (p UUID) FilterValue() string

func (UUID) Flags

func (p UUID) Flags() []Flag

func (UUID) IsGenerator

func (p UUID) IsGenerator() bool

func (UUID) Name

func (p UUID) Name() string

func (UUID) Title

func (p UUID) Title() string

func (UUID) Transform

func (p UUID) Transform(_ []byte, _ ...Flag) (string, error)

type UniqueLines

type UniqueLines struct{}

func (UniqueLines) Alias

func (p UniqueLines) Alias() []string

func (UniqueLines) Description

func (p UniqueLines) Description() string

func (UniqueLines) FilterValue

func (p UniqueLines) FilterValue() string

func (UniqueLines) Flags

func (p UniqueLines) Flags() []Flag

func (UniqueLines) Name

func (p UniqueLines) Name() string

func (UniqueLines) StreamingSpec added in v1.1.0

func (p UniqueLines) StreamingSpec() StreamingSpec

func (UniqueLines) Title

func (p UniqueLines) Title() string

func (UniqueLines) Transform

func (p UniqueLines) Transform(data []byte, _ ...Flag) (string, error)

type Upper

type Upper struct{}

func (Upper) Alias

func (p Upper) Alias() []string

func (Upper) Description

func (p Upper) Description() string

func (Upper) FilterValue

func (p Upper) FilterValue() string

func (Upper) Flags

func (p Upper) Flags() []Flag

func (Upper) Name

func (p Upper) Name() string

func (Upper) StreamingSpec added in v1.1.0

func (p Upper) StreamingSpec() StreamingSpec

func (Upper) Title

func (p Upper) Title() string

func (Upper) Transform

func (p Upper) Transform(data []byte, _ ...Flag) (string, error)

type ValidateEmail

type ValidateEmail struct{}

func (ValidateEmail) Alias

func (p ValidateEmail) Alias() []string

func (ValidateEmail) Description

func (p ValidateEmail) Description() string

func (ValidateEmail) FilterValue

func (p ValidateEmail) FilterValue() string

func (ValidateEmail) Flags

func (p ValidateEmail) Flags() []Flag

func (ValidateEmail) Name

func (p ValidateEmail) Name() string

func (ValidateEmail) Title

func (p ValidateEmail) Title() string

func (ValidateEmail) Transform

func (p ValidateEmail) Transform(data []byte, _ ...Flag) (string, error)

type ValidateJSON

type ValidateJSON struct{}

func (ValidateJSON) Alias

func (p ValidateJSON) Alias() []string

func (ValidateJSON) Description

func (p ValidateJSON) Description() string

func (ValidateJSON) FilterValue

func (p ValidateJSON) FilterValue() string

func (ValidateJSON) Flags

func (p ValidateJSON) Flags() []Flag

func (ValidateJSON) Name

func (p ValidateJSON) Name() string

func (ValidateJSON) Title

func (p ValidateJSON) Title() string

func (ValidateJSON) Transform

func (p ValidateJSON) Transform(data []byte, _ ...Flag) (string, error)

type ValidateURL

type ValidateURL struct{}

func (ValidateURL) Alias

func (p ValidateURL) Alias() []string

func (ValidateURL) Description

func (p ValidateURL) Description() string

func (ValidateURL) FilterValue

func (p ValidateURL) FilterValue() string

func (ValidateURL) Flags

func (p ValidateURL) Flags() []Flag

func (ValidateURL) Name

func (p ValidateURL) Name() string

func (ValidateURL) Title

func (p ValidateURL) Title() string

func (ValidateURL) Transform

func (p ValidateURL) Transform(data []byte, _ ...Flag) (string, error)

type WordFrequency

type WordFrequency struct{}

func (WordFrequency) Alias

func (p WordFrequency) Alias() []string

func (WordFrequency) Description

func (p WordFrequency) Description() string

func (WordFrequency) FilterValue

func (p WordFrequency) FilterValue() string

func (WordFrequency) Flags

func (p WordFrequency) Flags() []Flag

func (WordFrequency) Name

func (p WordFrequency) Name() string

func (WordFrequency) Title

func (p WordFrequency) Title() string

func (WordFrequency) Transform

func (p WordFrequency) Transform(data []byte, _ ...Flag) (string, error)

type Wrap

type Wrap struct{}

func (Wrap) Alias

func (p Wrap) Alias() []string

func (Wrap) Description

func (p Wrap) Description() string

func (Wrap) FilterValue

func (p Wrap) FilterValue() string

func (Wrap) Flags

func (p Wrap) Flags() []Flag

func (Wrap) Name

func (p Wrap) Name() string

func (Wrap) Title

func (p Wrap) Title() string

func (Wrap) Transform

func (p Wrap) Transform(data []byte, f ...Flag) (string, error)

type XMLToJSON

type XMLToJSON struct{}

func (XMLToJSON) Alias

func (p XMLToJSON) Alias() []string

func (XMLToJSON) Description

func (p XMLToJSON) Description() string

func (XMLToJSON) FilterValue

func (p XMLToJSON) FilterValue() string

func (XMLToJSON) Flags

func (p XMLToJSON) Flags() []Flag

func (XMLToJSON) Name

func (p XMLToJSON) Name() string

func (XMLToJSON) Title

func (p XMLToJSON) Title() string

func (XMLToJSON) Transform

func (p XMLToJSON) Transform(data []byte, f ...Flag) (string, error)

type XXH32

type XXH32 struct{}

func (XXH32) Alias

func (p XXH32) Alias() []string

func (XXH32) Description

func (p XXH32) Description() string

func (XXH32) FilterValue

func (p XXH32) FilterValue() string

func (XXH32) Flags

func (p XXH32) Flags() []Flag

func (XXH32) Name

func (p XXH32) Name() string

func (XXH32) Title

func (p XXH32) Title() string

func (XXH32) Transform

func (p XXH32) Transform(data []byte, _ ...Flag) (string, error)

type XXH64

type XXH64 struct{}

func (XXH64) Alias

func (p XXH64) Alias() []string

func (XXH64) Description

func (p XXH64) Description() string

func (XXH64) FilterValue

func (p XXH64) FilterValue() string

func (XXH64) Flags

func (p XXH64) Flags() []Flag

func (XXH64) Name

func (p XXH64) Name() string

func (XXH64) Title

func (p XXH64) Title() string

func (XXH64) Transform

func (p XXH64) Transform(data []byte, _ ...Flag) (string, error)

type XXH128

type XXH128 struct{}

func (XXH128) Alias

func (p XXH128) Alias() []string

func (XXH128) Description

func (p XXH128) Description() string

func (XXH128) FilterValue

func (p XXH128) FilterValue() string

func (XXH128) Flags

func (p XXH128) Flags() []Flag

func (XXH128) Name

func (p XXH128) Name() string

func (XXH128) Title

func (p XXH128) Title() string

func (XXH128) Transform

func (p XXH128) Transform(data []byte, _ ...Flag) (string, error)

type YAMLToJSON

type YAMLToJSON struct{}

func (YAMLToJSON) Alias

func (p YAMLToJSON) Alias() []string

func (YAMLToJSON) Description

func (p YAMLToJSON) Description() string

func (YAMLToJSON) FilterValue

func (p YAMLToJSON) FilterValue() string

func (YAMLToJSON) Flags

func (p YAMLToJSON) Flags() []Flag

func (YAMLToJSON) Name

func (p YAMLToJSON) Name() string

func (YAMLToJSON) Title

func (p YAMLToJSON) Title() string

func (YAMLToJSON) Transform

func (p YAMLToJSON) Transform(data []byte, f ...Flag) (string, error)

type Zeropad

type Zeropad struct{}

func (Zeropad) Alias

func (p Zeropad) Alias() []string

func (Zeropad) Description

func (p Zeropad) Description() string

func (Zeropad) FilterValue

func (p Zeropad) FilterValue() string

func (Zeropad) Flags

func (p Zeropad) Flags() []Flag

func (Zeropad) Name

func (p Zeropad) Name() string

func (Zeropad) Title

func (p Zeropad) Title() string

func (Zeropad) Transform

func (p Zeropad) Transform(data []byte, f ...Flag) (string, error)

Jump to

Keyboard shortcuts

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