Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrSchemeNotSupported indicates a given URI scheme is not supported. ErrSchemeNotSupported = errors.New("scheme not supported") ErrCarFileUnavailable = errors.New("car file unavailable") // ErrInvalidCarFile indicates a given URI points to an invalid car file. ErrInvalidCarFile = errors.New("invalid car file") )
Functions ¶
This section is empty.
Types ¶
type HTTPURI ¶
type HTTPURI struct {
// contains filtered or unexported fields
}
HTTPURI is used to get http/https resources.
func (*HTTPURI) Cid ¶
func (u *HTTPURI) Cid() cid.Cid
Cid returns the data cid referenced by the uri.
Click to show internal directories.
Click to hide internal directories.