Documentation
¶
Index ¶
Constants ¶
View Source
const EmbeddedLocatorString = "embedded"
Variables ¶
View Source
var DefaultL1ContractsLocator = EmbeddedLocator
View Source
var DefaultL2ContractsLocator = EmbeddedLocator
View Source
var EmbeddedLocator = &Locator{
URL: embeddedURL,
}
View Source
var ErrUnsupportedArtifactsScheme = errors.New("unsupported artifacts URL scheme")
Functions ¶
Types ¶
type CachingDownloader ¶
type CachingDownloader struct {
// contains filtered or unexported fields
}
type Downloader ¶
type HTTPDownloader ¶
type HTTPDownloader struct{}
type Locator ¶
func MustNewFileLocator ¶
func MustNewLocatorFromURL ¶
func NewFileLocator ¶
func NewLocatorFromURL ¶
func (*Locator) IsEmbedded ¶
func (*Locator) MarshalText ¶
func (*Locator) UnmarshalText ¶
type TarballExtractor ¶
type TarballExtractor struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.