Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrAlreadyExists returns when the soure already exists in Store ErrAlreadyExists = errors.New("source already exists") // ErrDoesntExists returns when the source isn't in the Store ErrDoesntExists = errors.New("source doesn't exist") )
Functions ¶
This section is empty.
Types ¶
type Source ¶
type Source struct { ID string Weight float64 Scores map[string]int Maddr ma.Multiaddr LastFetched *time.Time }
Source is an external source of reputation information.
Click to show internal directories.
Click to hide internal directories.