Versions in this module Expand all Collapse all v0 v0.0.1 Jul 30, 2018 Changes in this version + type Bucket interface + Delete func(ctx context.Context, path string) error + Exists func(ctx context.Context, path string) bool + List func(ctx context.Context, prefix string) ([]string, error) + Open func(ctx context.Context, path string) (io.ReadCloser, error) + Write func(ctx context.Context, path string) io.WriteCloser + type Storage struct + func NewWithCredentials(ctx context.Context, cred option.ClientOption) (*Storage, error) + func (s *Storage) BaseURL() *url.URL + func (s *Storage) Close() error + func (s *Storage) Delete(ctx context.Context, module, version string) error + func (s *Storage) Exists(ctx context.Context, module, version string) bool + func (s *Storage) Get(ctx context.Context, module, version string) (*storage.Version, error) + func (s *Storage) List(ctx context.Context, module string) ([]string, error) + func (s *Storage) Save(ctx context.Context, module, version string, mod []byte, zip io.Reader, ...) error