Documentation ¶
Index ¶
- type Store
- type StoreImpl
- func (s *StoreImpl) Delete(ctx context.Context, userID string, id string) (bool, error)
- func (s *StoreImpl) Exists(ctx context.Context, userID string, id string) (bool, error)
- func (s *StoreImpl) Get(ctx context.Context, userID string, id string) (io.ReadCloser, error)
- func (s *StoreImpl) Put(ctx context.Context, userID string, id string, reader io.Reader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface { Exists(ctx context.Context, userID string, id string) (bool, error) Put(ctx context.Context, userID string, id string, reader io.Reader) error Get(ctx context.Context, userID string, id string) (io.ReadCloser, error) Delete(ctx context.Context, userID string, id string) (bool, error) }
Click to show internal directories.
Click to hide internal directories.