diff --git a/pkg/tleeinterface/tleeinterface.go b/pkg/tleeinterface/tleeinterface.go index f46fb52..34423a4 100644 --- a/pkg/tleeinterface/tleeinterface.go +++ b/pkg/tleeinterface/tleeinterface.go @@ -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) }