Documentation ¶
Index ¶
Constants ¶
View Source
const ( MetadataEncodingEncrypted = "binary/encrypted" MetadataEncryptionKeyID = "encryption-key-id" )
Variables ¶
View Source
var PropagateKey = contextKey{}
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 {
KeyID string
}
type CryptContext ¶
type CryptContext struct {
KeyID string `json:"keyId"`
}
type DataConverter ¶
type DataConverter struct { converter.DataConverter // contains filtered or unexported fields }
func NewEncryptionDataConverter ¶
func NewEncryptionDataConverter(dataConverter converter.DataConverter, options DataConverterOptions) *DataConverter
NewEncryptionDataConverter creates a new instance of EncryptionDataConverter wrapping a DataConverter
type DataConverterOptions ¶
type DataConverterOptions struct {
KeyID string
}
Click to show internal directories.
Click to hide internal directories.