Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidConfig = errors.New("invalid configuration")
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage interface { Delete(ctx context.Context, key string) error Get(ctx context.Context, key string, wr io.Writer) error GetURL(ctx context.Context, key string) (string, error) Put(ctx context.Context, key string, data io.Reader, size int64) error Stat(ctx context.Context, key string) (bool, error) }
Click to show internal directories.
Click to hide internal directories.