Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FingerprintScores ¶
type OracleServer ¶
type OracleServer struct {
// contains filtered or unexported fields
}
func New ¶
func New(listen, listenMonitor string, logger *zap.SugaredLogger) (*OracleServer, error)
func (*OracleServer) AddScoringService ¶
func (o *OracleServer) AddScoringService(service services.ScoringService)
func (*OracleServer) RegisterScoringAPI ¶
func (o *OracleServer) RegisterScoringAPI()
func (*OracleServer) RegisterStatsAPI ¶
func (o *OracleServer) RegisterStatsAPI()
func (*OracleServer) Start ¶
func (o *OracleServer) Start() error
type ScoringQuery ¶
type ScoringQuery struct {
Queries map[string][]services.ServiceName `json:"scorings"`
}
type ScoringResponse ¶
type ScoringResponse map[addr.IA][]FingerprintScores
Click to show internal directories.
Click to hide internal directories.