interfaces

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 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 ApiFactory

type ApiFactory interface {
	Start(ctx context.Context, config configuration.Config, ctrl Controller) error
}

type Controller

type Controller interface {
	GetIncident(id string, user string) (incident messages.IncidentMessage, err error, errCode int)
	FindIncidents(externalTaskId string, processDefinitionId string, processInstanceId string, limit int, offset int, sortBy string, asc bool, user string) (incidents []messages.IncidentMessage, err error)
}

type Database

type Database interface {
	GetIncidents(id string, user string) (incident messages.IncidentMessage, exists bool, err error)
	FindIncidents(externalTaskId string, processDefinitionId string, processInstanceId string, limit int, offset int, sortBy string, asc bool, user string) (incidents []messages.IncidentMessage, err error)
}

type DatabaseFactory

type DatabaseFactory interface {
	Get(ctx context.Context, config configuration.Config) (Database, error)
}

Jump to

Keyboard shortcuts

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