Documentation ¶
Index ¶
- type Storage
- func (g *Storage) Delete(ctx context.Context, path string) error
- func (g *Storage) Open(ctx context.Context, path string) (io.ReadCloser, error)
- func (g *Storage) Save(ctx context.Context, content io.Reader, path string) (rerr error)
- func (g *Storage) Stat(ctx context.Context, path string) (*storage.Stat, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage is a gcs storage.
func NewStorage ¶
NewStorage returns a new Storage.
Click to show internal directories.
Click to hide internal directories.