mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-07-04 13:32:52 -04:00
21 lines
308 B
Go
21 lines
308 B
Go
package netdb
|
|
|
|
import (
|
|
"github.com/hkparker/go-i2p/lib/common"
|
|
"io"
|
|
)
|
|
|
|
// netdb entry
|
|
// wraps a router info and provides serialization
|
|
type Entry struct {
|
|
ri common.RouterInfo
|
|
}
|
|
|
|
func (e *Entry) WriteTo(w io.Writer) (err error) {
|
|
return
|
|
}
|
|
|
|
func (e *Entry) ReadFrom(r io.Reader) (err error) {
|
|
return
|
|
}
|