mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-07-14 12:49:45 -04:00
Little more RI private key stuff just to be sure where I think it should go
This commit is contained in:
@ -10,17 +10,25 @@ import (
|
||||
"github.com/go-i2p/go-i2p/lib/config"
|
||||
"github.com/go-i2p/go-i2p/lib/keys"
|
||||
"github.com/go-i2p/go-i2p/lib/netdb"
|
||||
"github.com/go-i2p/go-i2p/lib/transport"
|
||||
)
|
||||
|
||||
var log = logger.GetGoI2PLogger()
|
||||
|
||||
// i2p router type
|
||||
type Router struct {
|
||||
// keystore for router info
|
||||
*keys.RouterInfoKeystore
|
||||
cfg *config.RouterConfig
|
||||
ndb netdb.StdNetDB
|
||||
// multi-transport manager
|
||||
*transport.TransportMuxer
|
||||
// router configuration
|
||||
cfg *config.RouterConfig
|
||||
// netdb
|
||||
ndb netdb.StdNetDB
|
||||
// close channel
|
||||
closeChnl chan bool
|
||||
running bool
|
||||
// running flag
|
||||
running bool
|
||||
}
|
||||
|
||||
// CreateRouter creates a router with the provided configuration
|
||||
|
Reference in New Issue
Block a user