Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StandardManager ¶
type StandardManager struct {
// contains filtered or unexported fields
}
StandardManager is our main implementation of PeerManager
func NewPeerManager ¶
func NewPeerManager(ctx context.Context, datastorePath string, port int, debug bool, lowMem bool) (*StandardManager, error)
NewPeerManager creates a new server.PeerManager
func (*StandardManager) Peer ¶
func (m *StandardManager) Peer() *ipfslite.Peer
Peer returns the manager Peer
func (*StandardManager) Stop ¶
func (m *StandardManager) Stop() error
Stop stops the datastore, libp2p host and dht when requested
Click to show internal directories.
Click to hide internal directories.