Skip to content

Commit b089856

Browse files
committed
changed API of RunTLEE()
1 parent a4fd326 commit b089856

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)