Documentation ¶
Index ¶
- type Allocator
- func (a *Allocator) AllocateBlockMemory(p peer.ID, amount uint64) <-chan error
- func (a *Allocator) AllocatedForPeer(p peer.ID) uint64
- func (a *Allocator) ReleaseBlockMemory(p peer.ID, amount uint64) error
- func (a *Allocator) ReleasePeerMemory(p peer.ID) error
- func (a *Allocator) Stats() graphsync.ResponseStats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Allocator ¶
type Allocator struct {
// contains filtered or unexported fields
}
func NewAllocator ¶
func (*Allocator) AllocateBlockMemory ¶
func (*Allocator) ReleaseBlockMemory ¶
func (*Allocator) Stats ¶
func (a *Allocator) Stats() graphsync.ResponseStats
Click to show internal directories.
Click to hide internal directories.