Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PutOptions ¶
type PutOptions struct {
ContentType string
}
type Storage ¶
type Storage interface {
Put(runtimeInstance runtimecontract.Runtime, key string, reader io.Reader, size int64, options PutOptions) error
Get(runtimeInstance runtimecontract.Runtime, key string) (io.ReadCloser, error)
Delete(runtimeInstance runtimecontract.Runtime, key string) error
Exists(runtimeInstance runtimecontract.Runtime, key string) (bool, error)
PresignedUrl(runtimeInstance runtimecontract.Runtime, key string, expiry time.Duration) (string, error)
}
Click to show internal directories.
Click to hide internal directories.