broker

package
v0.0.0-...-abfe2d9 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: BSD-3-Clause Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BisimilarityAlgorithm

func BisimilarityAlgorithm(ctx context.Context, req contract.LocalContract, prov contract.LocalContract) (bool, map[string]string, error)

This function assumes that it can call out to Python with the cfsm-bisimulation package installed. It also assumes both contracts are CFSMs.

func NewBrokerServer

func NewBrokerServer(databasePath string) *brokerServer

NewBrokerServer brokerServer constructor

Types

type ContractCompatibilityFunc

type ContractCompatibilityFunc func(ctx context.Context, req contract.LocalContract, prov contract.LocalContract) (bool, map[string]string, error)

Jump to

Keyboard shortcuts

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