Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { // Upload generic binary to path // Path is internal address Upload(ctx context.Context, path string, contentType string, payload io.Reader) (*Data, *types.CommonError) // Delete generic binary at path Delete(ctx context.Context, path string) (*Data, *types.CommonError) // Get the data // Better just use the public URL, // But if the data is small & meant to be private then can use this Get(ctx context.Context, path string) (io.ReadCloser, *Data, *types.CommonError) }
Click to show internal directories.
Click to hide internal directories.