mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-07-05 22:17:04 -04:00
make it compile
This commit is contained in:
14
lib/netdb/bootstrap.go
Normal file
14
lib/netdb/bootstrap.go
Normal file
@ -0,0 +1,14 @@
|
||||
package netdb
|
||||
|
||||
type Reseed interface {
|
||||
// do reseed, return nil on success otherwise error
|
||||
// sends down all Netdb entries down chan
|
||||
// closes channel when done
|
||||
Reseed(chnl chan *Entry) error
|
||||
}
|
||||
|
||||
|
||||
func GetRandomReseed() Reseed {
|
||||
// TODO: hardcoded value
|
||||
return HTTPSReseed("https://i2p.rocks:445/")
|
||||
}
|
Reference in New Issue
Block a user