Categorygithub.com/blacklane/go-libs/camunda/v2
modulepackage
2.1.2
Repository: https://github.com/blacklane/go-libs.git
Documentation: pkg.go.dev

# README

Camunda API client

This library is a wrapper for the camunda API. It can connect to any camunda engine deployment and supports a subset of operations from the official camunda API.

Supported Operations

  • starting a process instance
  • sending a message (and updating variables)
  • subscribing to an external task queue
  • using basic authentication

Installation

go get -u github.com/blacklane/go-libs/camunda/v2

Getting Started

Create a new API client:

url         := "http://localhost:8080"
processKey  := "example-process"
credentials := camunda.BasicAuthCredentials{...}
client := camunda.NewClient(url, processKey, http.Client{}, credentials)

Starting a new process instance:

businessKey := uuid.New().String()
variables := map[string]camunda.Variable{}
err := client.StartProcess(context.Background(), businessKey, variables)
if err != nil {
	log.Err(err).Msg("Failed to start process")
}

For complete examples check out the /examples directory.

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author