Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PickGreeting ¶
PickGreeting is a Temporal activity that returns some greeting text.
Types ¶
type Interceptor ¶
type Interceptor struct {
interceptor.InterceptorBase
}
func NewTestInterceptor ¶
func NewTestInterceptor() *Interceptor
func (*Interceptor) InterceptClient ¶
func (i *Interceptor) InterceptClient(next interceptor.ClientOutboundInterceptor) interceptor.ClientOutboundInterceptor
func (*Interceptor) InterceptWorkflow ¶
func (i *Interceptor) InterceptWorkflow(ctx workflow.Context, next interceptor.WorkflowInboundInterceptor) interceptor.WorkflowInboundInterceptor
type WorkflowInterceptor ¶
type WorkflowInterceptor struct {
interceptor.WorkflowInboundInterceptorBase
}
func (*WorkflowInterceptor) ExecuteWorkflow ¶
func (i *WorkflowInterceptor) ExecuteWorkflow(ctx workflow.Context, in *interceptor.ExecuteWorkflowInput) (interface{}, error)
func (*WorkflowInterceptor) Init ¶
func (i *WorkflowInterceptor) Init(outbound interceptor.WorkflowOutboundInterceptor) error
Click to show internal directories.
Click to hide internal directories.