gcs

package
v0.0.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(bucket, name string, credential string, kind FileType) (connection.Connection, error)

Types

type File

type File struct {
	// contains filtered or unexported fields
}

func (*File) Cancel

func (f *File) Cancel()

func (*File) Close

func (f *File) Close()

func (*File) Connect

func (f *File) Connect(ctx context.Context) error

func (*File) Driver

func (f *File) Driver() string

func (*File) Handler

func (f *File) Handler() interface{}

func (*File) Name

func (f *File) Name() string

func (*File) Reader

func (f *File) Reader() io.Reader

func (*File) Writer

func (f *File) Writer() io.Writer

type FileType

type FileType rune
const READER FileType = 1
const WRITER FileType = 2

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL