Files
go-i2p/lib/netdb/bootstrap.go

14 lines
305 B
Go
Raw Normal View History

2016-01-28 10:46:09 -05:00
package netdb
type Reseed interface {
2016-01-29 07:22:31 -05:00
// do reseed, return nil on success otherwise error
// sends down all Netdb entries down chan
// closes channel when done
Reseed(chnl chan *Entry) error
2016-01-28 10:46:09 -05:00
}
func GetRandomReseed() Reseed {
2016-01-29 07:22:31 -05:00
// TODO: hardcoded value
return HTTPSReseed("https://i2p.rocks:445/")
2016-01-28 10:46:09 -05:00
}