Documentation
¶
Index ¶
- Constants
- func DoSomething(ctx workflow.Context, input DoSomethingInput) error
- func GetActivity1ChanName(paymentID string) string
- func GetActivity2ChanName(paymentID string) string
- func GetActivity3ChanName(paymentID string) string
- func GetActivity4ChanName(paymentID string) string
- func GetActivity5ChanName(paymentID string) string
- func GetDoSomethingWorkflowName(paymentID string) string
- type Activity1
- type Activity1Response
- type Activity2
- type Activity2Response
- type Activity3
- type Activity3Response
- type Activity4
- type Activity4Response
- type Activity5
- type Activity5Response
- type DoSomethingInput
Constants ¶
View Source
const ( DO_SOMETHING_WORKFLOW_NAME = "DO_SOMETHING" X_REQUEST_ID = "uuid" )
View Source
const ACTIVITY1_NAME = "ACTIVITY_1"
View Source
const ACTIVITY2_NAME = "ACTIVITY_2"
View Source
const ACTIVITY3_NAME = "ACTIVITY_3"
View Source
const ACTIVITY4_NAME = "ACTIVITY_4"
View Source
const ACTIVITY5_NAME = "ACTIVITY_5"
Variables ¶
This section is empty.
Functions ¶
func DoSomething ¶
func DoSomething(ctx workflow.Context, input DoSomethingInput) error
func GetActivity1ChanName ¶
func GetActivity2ChanName ¶
func GetActivity3ChanName ¶
func GetActivity4ChanName ¶
func GetActivity5ChanName ¶
Types ¶
type Activity1 ¶
type Activity1 struct { TemporalClient client.Client Activity1Response *Activity1Response }
func NewActivity1 ¶
type Activity1Response ¶
type Activity2 ¶
type Activity2 struct { TemporalClient client.Client Activity2Response *Activity2Response }
func NewActivity2 ¶
type Activity2Response ¶
type Activity3 ¶
type Activity3 struct { TemporalClient client.Client Activity3Response *Activity3Response }
func NewActivity3 ¶
type Activity3Response ¶
type Activity4 ¶
type Activity4 struct { TemporalClient client.Client Activity4Response *Activity4Response }
func NewActivity4 ¶
type Activity4Response ¶
type Activity5 ¶
type Activity5 struct { TemporalClient client.Client Activity5Response *Activity5Response }
func NewActivity5 ¶
type Activity5Response ¶
type DoSomethingInput ¶
type DoSomethingInput struct {
PaymentID string
}
Click to show internal directories.
Click to hide internal directories.