Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bloom ¶
type Bloom struct { Create CreateFilter `cmd:"" help:"create bloom filter based on a list of piece IDs"` Generate Generate `cmd:"" help:"generate bloom filter with all one"` Check Check `cmd:"" help:"checks piece ids (from file) against a bloom filter"` Info Info `cmd:"" help:"print out bloom filter metadata"` Send Send `cmd:"" help:"send bloom filter to a storagenode, with raw RPC call"` SendClient SendClient `cmd:"" help:"send bloom filter to a storagenode, with piecestore client"` Find Find `cmd:"" help:"Find BF for specific nodes in the generated ZIP files"` }
type Check ¶
type ChunkReader ¶
type CreateFilter ¶
type CreateFilter struct { PiecesFile string `default:"pieces.txt"` FalsePositiveRate float64 `default:"0.01"` ExpectedElement int64 `default:"10000000"` MaxMemory memory.Size `default:"2000000"` Output string `default:"bloom.filter"` }
func (CreateFilter) Run ¶
func (c CreateFilter) Run() error
type Generate ¶
type SendClient ¶
type SendClient struct { util.DialerHelper URL storj.NodeURL Filter string `arg:""` }
func (SendClient) Run ¶
func (s SendClient) Run() error
Click to show internal directories.
Click to hide internal directories.