mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-07-04 13:32:52 -04:00
get rid of stdi2p package, move everything relivent to common package
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
package stdi2p
|
||||
package common
|
||||
|
||||
import (
|
||||
"encoding/binary"
|
@ -2,3 +2,9 @@ package common
|
||||
|
||||
// the sha256 of some datastructure
|
||||
type IdentHash [32]byte
|
||||
|
||||
// i2p date time stamp
|
||||
type Date [8]byte
|
||||
|
||||
// i2p bytestring
|
||||
type String []byte
|
||||
|
@ -1,4 +1,4 @@
|
||||
package stdi2p
|
||||
package common
|
||||
|
||||
import (
|
||||
"github.com/bounce-chat/go-i2p/lib/common/base32"
|
@ -16,3 +16,7 @@ func (e *Entry) FilePath(n StdNetDB) (str string) {
|
||||
func (e *Entry) WriteTo(w io.Writer) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (e *Entry) ReadFrom(r io.Reader) (err error) {
|
||||
return
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
package stdi2p
|
||||
|
||||
// Router Identity
|
||||
type RouterIdentity struct {
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
package stdi2p
|
||||
|
||||
type RouterInfo struct {
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
package stdi2p
|
||||
|
||||
// i2p date time stamp
|
||||
type Date [8]byte
|
||||
|
||||
// i2p bytestring
|
||||
type String []byte
|
@ -1 +0,0 @@
|
||||
package stdi2p
|
@ -1,5 +0,0 @@
|
||||
package stdi2p
|
||||
|
||||
// an su3 archive
|
||||
type SU3 struct {
|
||||
}
|
Reference in New Issue
Block a user