content-addressable-store

command module
v0.0.0-...-22e4e92 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2023 License: MIT Imports: 13 Imported by: 0

README

content-addressable-store

A Go service with potential for improvement.

If you have Go and Docker installed on your machine, you can run the service as shown below:

# Start a datadog agent
export DD_API_KEY="<your-api-key>"
docker compose up -d --wait agent

# Run the application
export DD_SERVICE="content-addressable-store"
go run .

If that's working, you can use another shell session to upload a big file.

# Create a 250MB file
dd if=/dev/urandom of=250.mb bs=1M count=250

# Upload the file using curl
curl -X POST http://localhost:8080/store --data-binary @250.mb

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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