events

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	ProcessInstanceId string    `json:"process_instance_id"`
	ActivityName      string    `json:"activity_name"`
	Timestamp         time.Time `json:"timestamp"`
}

func NewEvent

func NewEvent(processInstanceId string, activityName string, timestamp time.Time) Event

func (*Event) Marshal

func (e *Event) Marshal() ([]byte, error)

func (*Event) String

func (e *Event) String() (string, error)

func (*Event) Unmarshal

func (e *Event) Unmarshal(bytes []byte) error

Jump to

Keyboard shortcuts

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