Skip to content

Commit

Permalink
changed API of RunTLEE()
Browse files Browse the repository at this point in the history
  • Loading branch information
berb committed Oct 8, 2024
1 parent a4fd326 commit b089856
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 b089856

Please sign in to comment.