encryption

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromKey

func FromKey(keyValue string) (value.Transformer, error)

FromKey returns the value transformer that match the value format.

func Must added in v0.2.1

Must is used to panic when a transformer initialization failed.

func Register added in v0.2.1

func Register(prefix string, factory TransformerFactoryFunc)

Register a transformer with the given prefix.

Types

type TransformerFactoryFunc added in v0.2.1

type TransformerFactoryFunc func(string) (value.Transformer, error)

TransformerFactoryFunc is used for transformer building for encryption.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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