mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-06-10 02:58:15 -04:00
24 lines
392 B
Go
24 lines
392 B
Go
package netdb
|
|
|
|
import (
|
|
"io"
|
|
|
|
"github.com/go-i2p/go-i2p/lib/common/lease_set"
|
|
"github.com/go-i2p/go-i2p/lib/common/router_info"
|
|
)
|
|
|
|
// netdb entry
|
|
// wraps a router info and provides serialization
|
|
type Entry struct {
|
|
*router_info.RouterInfo
|
|
*lease_set.LeaseSet
|
|
}
|
|
|
|
func (e *Entry) WriteTo(w io.Writer) (err error) {
|
|
return
|
|
}
|
|
|
|
func (e *Entry) ReadFrom(r io.Reader) (err error) {
|
|
return
|
|
}
|