Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
This section is empty.
Types ¶
type Gateway ¶
type Gateway interface { Get(ctx context.Context, resourceID string) ([]byte, error) GetReader(ctx context.Context, resourceID string) (io.ReadCloser, error) }
func NewIpfsGateway ¶
func NewIpfsGateway(credentials []IpfsCredentials) Gateway
Click to show internal directories.
Click to hide internal directories.