mirror of
https://github.com/libp2p/go-libp2p-resource-manager.git
synced 2025-02-04 00:30:32 +08:00
17 lines
730 B
Go
17 lines
730 B
Go
package rcmgr
|
|
|
|
import (
|
|
rcmgr "github.com/libp2p/go-libp2p/p2p/host/resource-manager"
|
|
)
|
|
|
|
// ResourceScopeLimiter is a trait interface that allows you to access scope limits.
|
|
// Deprecated: use github.com/libp2p/go-libp2p/p2p/host/resource-manager.ResourceScopeLimiter instead
|
|
type ResourceScopeLimiter = rcmgr.ResourceScopeLimiter
|
|
|
|
// ResourceManagerState is a trait that allows you to access resource manager state.
|
|
// Deprecated: use github.com/libp2p/go-libp2p/p2p/host/resource-manager.ResourceManagerState instead
|
|
type ResourceManagerState = rcmgr.ResourceManagerState
|
|
|
|
// Deprecated: use github.com/libp2p/go-libp2p/p2p/host/resource-manager.ResourceManagerStat instead
|
|
type ResourceManagerStat = rcmgr.ResourceManagerStat
|