Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithChatter ¶
func WithChatter(server apis.ChunkserverSingle, conncache rpc.ConnectionCache) (apis.Chunkserver, error)
Supplement a basic chunkserver interface with the ability to connect to other chunkservers
Types ¶
type StorageStats ¶
type StorageStats func() int
returns number of bytes of storage used, at a rough approximation
func NewTestChunkserver ¶
func NewTestChunkserver(t *testing.T, cache rpc.ConnectionCache) (apis.Chunkserver, StorageStats, control.Teardown)
Click to show internal directories.
Click to hide internal directories.