Skip to content

Commit 3ea37c1

Browse files
authored
Merge pull request #1 from vs-uulm/feature/tlee-error-handling
changed API of RunTLEE()
2 parents 14faf21 + b089856 commit 3ea37c1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pkg/tleeinterface/tleeinterface.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ import (
66
)
77

88
/*
9-
The RunTLEE function provided by the TLEE to be used by the TAF.
9+
The TLEE interface indicates that a struct can be used as a TLEE by exposing the required RunTLEE() function.
1010
*/
1111
type TLEE interface {
12-
RunTLEE(trustmodelID string, version int, fingerprint uint32, structure trustmodelstructure.TrustGraphStructure, values map[string][]trustmodelstructure.TrustRelationship) map[string]subjectivelogic.QueryableOpinion
12+
13+
/*
14+
The RunTLEE function provided by the TLEE to be used by the TAF.
15+
*/
16+
RunTLEE(trustmodelID string, version int, fingerprint uint32, structure trustmodelstructure.TrustGraphStructure, values map[string][]trustmodelstructure.TrustRelationship) (map[string]subjectivelogic.QueryableOpinion, error)
1317
}

0 commit comments

Comments
 (0)