Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleCloudStorage ¶
type GoogleCloudStorage struct {
// contains filtered or unexported fields
}
GoogleCloudStorage represents a struct for a GCS client
func NewGoogleCloudStorage ¶
func NewGoogleCloudStorage(bucketName, objectName string) *GoogleCloudStorage
NewGoogleCloudStorage returns an initiated *GoogleCloudStorage returns nil on error while Client initialization
func (*GoogleCloudStorage) NewReader ¶
func (g *GoogleCloudStorage) NewReader() (r io.ReadCloser, err error)
NewReader returns a new io.Reader for the GoogleCloudStorage
func (*GoogleCloudStorage) NewWriter ¶
func (g *GoogleCloudStorage) NewWriter() io.WriteCloser
NewWriter returns a new io.Reader for the GoogleCloudStorage
Click to show internal directories.
Click to hide internal directories.