Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SkylinkFixture ¶
type SkylinkFixture struct { Metadata modules.SkyfileMetadata `json:"metadata"` Content []byte `json:"content"` }
SkylinkFixture holds the download representation of a Skylink
func LoadSkylinkFixture ¶
func LoadSkylinkFixture(link modules.Skylink) (SkylinkFixture, error)
LoadSkylinkFixture returns the SkylinkFixture representation of a Skylink.
NOTES: Each test is run with its own directory as a working directory. This means that we can load a relative path and each test will load its own data or, at least, the data of its own directory.
Click to show internal directories.
Click to hide internal directories.