flows

package
v0.0.0-...-befd928 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flow

type Flow struct {
	Id        string        `xml:"id,attr"`
	Role      role.Role     `xml:"role,attr"`
	Supplier  string        `xml:"supplier,attr"`
	Requester string        `xml:"requester,attr"`
	Message   []FlowMessage `xml:"message,omitempty"`
	Error     *FlowError    `xml:"error,omitempty"`
	Modified  time.Time     `xml:"-"`
}

type FlowError

type FlowError struct {
	Kind    string `xml:"kind,attr"`
	Message string `xml:"message"`
}

type FlowMessage

type FlowMessage struct {
	Kind      string                   `xml:"kind,attr"`
	Timestamp utils.XSDDateTime        `xml:"timestamp,attr"`
	Message   iso18626.ISO18626Message `xml:"ISO18626Message"`
}

type Flows

type Flows struct {
	XMLName xml.Name `xml:"flows"`
	Flows   []Flow   `xml:"flow"`
}

type FlowsApi

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

func CreateFlowsApi

func CreateFlowsApi() *FlowsApi

func (*FlowsApi) AddFlow

func (api *FlowsApi) AddFlow(flow Flow)

func (*FlowsApi) HttpHandler

func (api *FlowsApi) HttpHandler() http.HandlerFunc

func (*FlowsApi) Init

func (api *FlowsApi) Init()

func (*FlowsApi) ParseEnv

func (api *FlowsApi) ParseEnv() error

func (*FlowsApi) Run

func (api *FlowsApi) Run()

func (*FlowsApi) Shutdown

func (api *FlowsApi) Shutdown()

Jump to

Keyboard shortcuts

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