Categorygithub.com/logsquaredn/blobproxy
modulepackage
0.1.5
Repository: https://github.com/logsquaredn/blobproxy.git
Documentation: pkg.go.dev

# README

blobproxy CI godoc goreportcard license

Go http.Handler for serving the contents of a gocloud.dev/blob.Bucket, e.g. an s3 bucket.

install

# application
go install github.com/logsquaredn/blobproxy/cmd/blobproxy
# module
go get github.com/logsquaredn/blobproxy

use

$ blobproxy -h
Usage:
  blobproxy [--port|-p 8080] {s3|azblob|gs}://bucket [/prefix]

Flags:
  -h, --help                  help for blobproxy
  -p, --port int              port (default 8080)
  -V, --verbose count         verbose
  -v, --version               version for blobproxy
$ blobproxy s3://my-bucket /my-prefix
$ curl http://localhost:8080/my-prefix/my-bucket-object

See https://gocloud.dev/concepts/urls/ for supported URL formats.

Remember to escape & in the URL's query parameters. See docker-compose.yml for an example.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Type aliases

No description provided by the author