Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PathScorings ¶
type PathScorings map[oracle.PathFingerprint]float64
type ScoringService ¶
type ScoringService interface { OnStatsReceived(report oracle.Report, path snet.Path) GetScores(dst addr.IA) PathScorings Name() ServiceName }
type ScoringServiceMock ¶
func (*ScoringServiceMock) GetScores ¶
func (s *ScoringServiceMock) GetScores(dst addr.IA) PathScorings
func (*ScoringServiceMock) Name ¶
func (s *ScoringServiceMock) Name() ServiceName
func (*ScoringServiceMock) OnStatsReceived ¶
func (s *ScoringServiceMock) OnStatsReceived(report oracle.Report, path snet.Path)
type ServiceName ¶
type ServiceName string
Click to show internal directories.
Click to hide internal directories.