plugin

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

README

go-filer

File storage, retrieval and search

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWS

type AWS interface {
	server.Task

	// Return region
	Region() string

	// S3
	S3() *s3.Client

	// Buckets
	ListBuckets(context.Context) ([]s3types.Bucket, error)
	CreateBucket(context.Context, string, ...aws.Opt) (*s3types.Bucket, error)
	GetBucket(context.Context, string) (*s3types.Bucket, error)
	DeleteBucket(context.Context, string) error

	// Objects
	ListObjects(context.Context, string, ...aws.Opt) ([]s3types.Object, error)
	GetObjectMeta(context.Context, string, string) (*s3types.Object, url.Values, error)
	GetObject(context.Context, io.Writer, func(url.Values) error, string, string) (*s3types.Object, error)
	DeleteObject(context.Context, string, string) error
	PutObject(context.Context, string, string, io.Reader, ...aws.Opt) (*s3types.Object, error)
}

Directories

Path Synopsis
cmd
filer command
pkg
aws
plugin
aws
pg

Jump to

Keyboard shortcuts

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