tap

package
v0.0.1-0...-e5b290b Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// NoOperationProcessor defines the copy source processor
	NoOperationProcessor = func(payload []byte) ([]byte, error) {
		return payload, nil
	}

	// DefaultDecryptor is the default data decryptor for challenge
	DefaultDecryptor = NoOperationProcessor
)

Functions

This section is empty.

Types

type Option

type Option func(*Options)

Option defines forge option contract option function

func WithDecryptor

func WithDecryptor(decryptor ProcessorFunc) Option

WithDecryptor defines the challenge decryptor

type Options

type Options struct {
	Decryptor ProcessorFunc
}

Options for challenge forging

type ProcessorFunc

type ProcessorFunc func([]byte) ([]byte, error)

ProcessorFunc contract for challenge pre/post processing

Jump to

Keyboard shortcuts

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