Help us shape the future of Go! Take the 2026 Go Developer Survey

temporalcrypto

package
v1.321.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const SecretsEncryptionDisabledEnv = "CREDIMI_TEMPORAL_SECRETS_ENCRYPTION_DISABLED"
View Source
const SecretsEncryptionKeyEnv = "CREDIMI_TEMPORAL_SECRETS_ENCRYPTION_KEY"

Variables

This section is empty.

Functions

func DataConverter

func DataConverter() converter.DataConverter

func NewDataConverter

func NewDataConverter(key []byte) converter.DataConverter

func ValidateEnv

func ValidateEnv() error

ValidateEnv reports whether the secrets encryption key in the environment is usable. It returns nil when encryption is disabled.

Types

type SecretsJSONPayloadConverter

type SecretsJSONPayloadConverter struct {
	// contains filtered or unexported fields
}

func NewSecretsJSONPayloadConverter

func NewSecretsJSONPayloadConverter(key []byte) *SecretsJSONPayloadConverter

func (*SecretsJSONPayloadConverter) Encoding

func (c *SecretsJSONPayloadConverter) Encoding() string

func (*SecretsJSONPayloadConverter) FromPayload

func (c *SecretsJSONPayloadConverter) FromPayload(payload *commonpb.Payload, valuePtr any) error

func (*SecretsJSONPayloadConverter) ToPayload

func (c *SecretsJSONPayloadConverter) ToPayload(value any) (*commonpb.Payload, error)

func (*SecretsJSONPayloadConverter) ToString

func (c *SecretsJSONPayloadConverter) ToString(payload *commonpb.Payload) string

Jump to

Keyboard shortcuts

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