Skip to content

The goldfish that remembers. Go HTTP server that remembers things (arbitrary blocks of text) in chronological order.

Notifications You must be signed in to change notification settings

brett-richardson/goldfish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goldfish

The goldfish that remembers.

Goldfish is designed to be a long-term permanent logging solution.

Go HTTP server that remembers things (arbitrary blocks of text) in chronological order. Currently uses Amazon S3 for persistant storage.

Usage

  1. Run the server.
go run main.go
  1. POST to memories/:type/:id

For example, a POST to memories/product/123 with POST values:

POST http://localhost:3000/memories/product/123
   datetime=2014-01-01T21:14:00
   memory=Arbitrary block of text.
   
POST http://localhost:3000/memories/product/123
   datetime=2014-01-02T23:14:00
   memory=Another block of text.
  1. Now a get request to http://localhost:3000/memories/product/123.

The response:

==== 2014-01-01T21:14:00 ====
Arbitrary block of text.

==== 2014-01-02T23:14:00 ====
Another block of text.

About

The goldfish that remembers. Go HTTP server that remembers things (arbitrary blocks of text) in chronological order.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages