Documentation
¶
Index ¶
- func NewGoogleCloudStorage(args oss.OSSArgs) (oss.OSS, error)
- type GoogleCloudStorage
- func (g *GoogleCloudStorage) Delete(key string) error
- func (g *GoogleCloudStorage) Exists(key string) (bool, error)
- func (g *GoogleCloudStorage) List(prefix string) ([]oss.OSSPath, error)
- func (g *GoogleCloudStorage) Load(key string) ([]byte, error)
- func (g *GoogleCloudStorage) Save(key string, data []byte) error
- func (g *GoogleCloudStorage) State(key string) (oss.OSSState, error)
- func (g *GoogleCloudStorage) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GoogleCloudStorage ¶
type GoogleCloudStorage struct {
// contains filtered or unexported fields
}
func (*GoogleCloudStorage) Delete ¶
func (g *GoogleCloudStorage) Delete(key string) error
func (*GoogleCloudStorage) List ¶
func (g *GoogleCloudStorage) List(prefix string) ([]oss.OSSPath, error)
func (*GoogleCloudStorage) State ¶
func (g *GoogleCloudStorage) State(key string) (oss.OSSState, error)
func (*GoogleCloudStorage) Type ¶
func (g *GoogleCloudStorage) Type() string
Click to show internal directories.
Click to hide internal directories.