Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientInterface ¶ added in v1.20.0
type ClientInterface interface { Upload(ctx context.Context, filePath string, metadata *map[string]string) (string, error) GetUrl(id string) string List(ctx context.Context) ([]string, error) Download(ctx context.Context, id string, filePath string) error GetFile(ctx context.Context, id string) (*http.Response, error) Delete(ctx context.Context, id string) error }
func MakeClient ¶
func MakeClient(url string) ClientInterface
Client creates a storage service client.
Click to show internal directories.
Click to hide internal directories.