tracer

package
v1.1.1507 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenDebug added in v1.1.1216

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

OpenDebug represents a running trace.

func Debug added in v1.1.1216

func Debug(natsURL string, filename string) *OpenDebug

Debug sets a consumer onto the workflow messages and outputs them to the console

func (*OpenDebug) Close added in v1.1.1216

func (o *OpenDebug) Close()

Close closes a trace and the underlying connection.

type OpenTrace added in v1.0.446

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

OpenTrace represents a running trace.

func Trace

func Trace(natsURL string) *OpenTrace

Trace sets a consumer onto the workflow messages and outputs them to the console

func (*OpenTrace) Close added in v1.0.446

func (o *OpenTrace) Close()

Close closes a trace and the underlying connection.

type OutputState added in v1.1.1216

type OutputState struct {
	model.WorkflowState
	Subject string
	VarMap  map[string]interface{}
}

OutputState represents the output state of a workflow. It embeds the model.WorkflowState struct and extends it with additional fields:

  • Subject: the subject of the message
  • VarMap: a map of variables

Jump to

Keyboard shortcuts

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