mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-07-04 13:32:52 -04:00
19 lines
250 B
Go
19 lines
250 B
Go
package netdb
|
|
|
|
import (
|
|
"io"
|
|
"path/filepath"
|
|
)
|
|
|
|
type Entry struct {
|
|
fname string
|
|
}
|
|
|
|
func (e *Entry) FilePath(n StdNetDB) (str string) {
|
|
return filepath.Join(string(n), e.fname)
|
|
}
|
|
|
|
func (e *Entry) WriteTo(w io.Writer) (err error) {
|
|
return
|
|
}
|