Skip to content

Commit

Permalink
Merge pull request #1 from vs-uulm/feature/tlee-error-handling
Browse files Browse the repository at this point in the history
changed API of RunTLEE()
  • Loading branch information
berb authored Oct 8, 2024
2 parents 14faf21 + b089856 commit 3ea37c1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pkg/tleeinterface/tleeinterface.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ import (
)

/*
The RunTLEE function provided by the TLEE to be used by the TAF.
The TLEE interface indicates that a struct can be used as a TLEE by exposing the required RunTLEE() function.
*/
type TLEE interface {
RunTLEE(trustmodelID string, version int, fingerprint uint32, structure trustmodelstructure.TrustGraphStructure, values map[string][]trustmodelstructure.TrustRelationship) map[string]subjectivelogic.QueryableOpinion

/*
The RunTLEE function provided by the TLEE to be used by the TAF.
*/
RunTLEE(trustmodelID string, version int, fingerprint uint32, structure trustmodelstructure.TrustGraphStructure, values map[string][]trustmodelstructure.TrustRelationship) (map[string]subjectivelogic.QueryableOpinion, error)
}

0 comments on commit 3ea37c1

Please sign in to comment.