Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { SenderThreads int MaxSenderTasks int MaxPendingResponsesSize int32 MaxResponseChunks uint32 }
func DefaultConfig ¶
func DefaultConfig(scale cachescale.Func) Config
type Seeder ¶
type Seeder struct {
// contains filtered or unexported fields
}
func (*Seeder) NotifyRequestReceived ¶
func (*Seeder) Stop ¶
func (s *Seeder) Stop()
Stop interrupts the seeder, canceling all the pending operations. Stop waits until all the internal goroutines have finished.
func (*Seeder) UnregisterPeer ¶
Click to show internal directories.
Click to hide internal directories.