make it compile

This commit is contained in:
Jeff Becker
2016-01-28 10:46:09 -05:00
parent 67d49585af
commit 5cf389a79d
8 changed files with 110 additions and 32 deletions

14
lib/netdb/bootstrap.go Normal file
View 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/")
}