Documentation ¶
Index ¶
- func AdFromLink(t *testing.T, adLink datamodel.Link, lsys ipld.LinkSystem) schema.Advertisement
- func AllAds(t *testing.T, ad schema.Advertisement, lsys ipld.LinkSystem) []schema.Advertisement
- func AllMultihashesFromAd(t *testing.T, ad schema.Advertisement, lsys ipld.LinkSystem) []multihash.Multihash
- func AllMultihashesFromAdLink(t *testing.T, adLink datamodel.Link, lsys ipld.LinkSystem) []multihash.Multihash
- type RandomAdBuilder
- type RandomEntryChunkBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdFromLink ¶ added in v0.3.3
func AllAds ¶
func AllAds(t *testing.T, ad schema.Advertisement, lsys ipld.LinkSystem) []schema.Advertisement
func AllMultihashesFromAd ¶
func AllMultihashesFromAd(t *testing.T, ad schema.Advertisement, lsys ipld.LinkSystem) []multihash.Multihash
Types ¶
type RandomAdBuilder ¶
type RandomAdBuilder struct { EntryChunkBuilders []RandomEntryChunkBuilder Seed int64 AddRmWithNoEntries bool }
func (RandomAdBuilder) BuildWithFakeSig ¶ added in v0.3.3
Click to show internal directories.
Click to hide internal directories.