Documentation
¶
Index ¶
Constants ¶
View Source
const (
// MetadataEncodingEncrypted is "binary/encrypted"
MetadataEncodingEncrypted = "binary/encrypted"
)
Variables ¶
View Source
var PropagateKey = contextKey{}
PropagateKey is the key used to store the value in the Context object.
Functions ¶
func NewContextPropagator ¶
func NewContextPropagator() workflow.ContextPropagator
NewContextPropagator returns a context propagator that propagates a set of string key-value pairs across a workflow.
Types ¶
type Codec ¶
type Codec struct {
Key []byte
}
Codec implements PayloadCodec using AES Crypt.
type CryptContext ¶
type CryptContext struct {
Key string `json:"key"`
}
CryptContext is a struct holding values.
type EncryptionDataConverter ¶
type EncryptionDataConverter struct { converter.DataConverter // contains filtered or unexported fields }
func NewEncryptionDataConverter ¶
func NewEncryptionDataConverter(dataConverter converter.DataConverter, options EncryptionOptions) (*EncryptionDataConverter, error)
NewEncryptionDataConverter creates a new instance of EncryptionDataConverter wrapping a DataConverter.
type EncryptionOptions ¶
Click to show internal directories.
Click to hide internal directories.