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

23 lines
308 B
Go
Raw Normal View History

2016-01-28 10:16:26 -05:00
package netdb
2016-01-28 10:46:09 -05:00
import (
2016-01-29 07:22:31 -05:00
"io"
"path/filepath"
2016-01-28 10:46:09 -05:00
)
type Entry struct {
2016-01-29 07:22:31 -05:00
fname string
2016-01-28 10:46:09 -05:00
}
func (e *Entry) FilePath(n StdNetDB) (str string) {
2016-01-29 07:22:31 -05:00
return filepath.Join(string(n), e.fname)
2016-01-28 10:46:09 -05:00
}
func (e *Entry) WriteTo(w io.Writer) (err error) {
2016-01-29 07:22:31 -05:00
return
2016-01-28 10:46:09 -05:00
}
func (e *Entry) ReadFrom(r io.Reader) (err error) {
return
}