Skip to content

Files

Latest commit

5a8e38f · Jan 10, 2023

History

History
This branch is 24 commits behind temporalio/samples-go:main.

encryption

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 13, 2022
Nov 7, 2022
Nov 7, 2022
Jan 10, 2023
Oct 28, 2021
Mar 11, 2022
Oct 28, 2021
Oct 28, 2021
Oct 28, 2021
Oct 28, 2021

Steps to run this sample:

  1. Run a Temporal service.
  2. Run the following command to start the remote codec server
go run ./codec-server
  1. Run the following command to start the worker
go run worker/main.go
  1. Run the following command to start the example
go run starter/main.go
  1. Run the following command and see the payloads cannot be decoded
tctl workflow show --wid encryption_workflowID
  1. Run the following command and see the decoded payloads
tctl --codec_endpoint 'http://localhost:8081/' workflow show --wid encryption_workflowID

Note: The codec server provided in this sample does not support decoding payloads for the Temporal Web UI, only tctl. Please see the codec-server sample for a more complete example of a codec server which provides UI decoding and oauth.