txnreply

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: BSD-3-Clause Imports: 6 Imported by: 2

Documentation

Overview

* Copyright © 2018. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

Index

Constants

View Source
const (
	SUCCESS           = "Success"
	SUCCESS_WITH_DATA = "Success with Data"
	ERROR             = "Error with Message"
)

Variables

This section is empty.

Functions

func NewActivity

func NewActivity(metadata *activity.Metadata) activity.Activity

Types

type Reply

type Reply struct {
	Status  string
	Message string
	Payload string
}

type TxnResponseActivity

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

describes the metadata of the activity as found in the activity.json file

func (*TxnResponseActivity) Eval

func (a *TxnResponseActivity) Eval(context activity.Context) (done bool, err error)

func (*TxnResponseActivity) Metadata

func (a *TxnResponseActivity) Metadata() *activity.Metadata

Jump to

Keyboard shortcuts

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