Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func With ¶
func With(api Client) fileloaders.Option
Types ¶
type Client ¶
type Client interface {
Bucket(name string) *storage.BucketHandle
}
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
func (*Loader) List ¶
func (l *Loader) List(ctx context.Context, path string, opt ...fileloaders.LoaderOption) ([]string, error)
func (*Loader) Load ¶
func (l *Loader) Load(ctx context.Context, path string, opt ...fileloaders.LoaderOption) (*fileloaders.File, error)
Click to show internal directories.
Click to hide internal directories.