Documentation ¶
Index ¶
- func FromKey(keyValue string) (value.Transformer, error)
- func IsDetached(ctx context.Context) bool
- func IsDeterministic(ctx context.Context) bool
- func IsInputPreHashed(ctx context.Context) bool
- func Must(t value.Transformer, err error) value.Transformer
- func Register(prefix string, factory TransformerFactoryFunc)
- func WithDetachedSignature(ctx context.Context, value bool) context.Context
- func WithDetermisticSignature(ctx context.Context, value bool) context.Context
- func WithInputPreHashed(ctx context.Context, value bool) context.Context
- type TransformerFactoryFunc
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 IsDetached ¶
func IsDeterministic ¶
func IsInputPreHashed ¶
func Must ¶
func Must(t value.Transformer, err error) value.Transformer
Must is used to panic when a transformer initialization failed.
func Register ¶
func Register(prefix string, factory TransformerFactoryFunc)
Register a transformer with the given prefix.
func WithDetachedSignature ¶
Types ¶
type TransformerFactoryFunc ¶
type TransformerFactoryFunc func(string) (value.Transformer, error)
TransformerFactoryFunc is used for transformer building for signature.
Click to show internal directories.
Click to hide internal directories.