Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brett-richardson/goldfish
The goldfish that remembers. Go HTTP server that remembers things (arbitrary blocks of text) in chronological order.
https://github.com/brett-richardson/goldfish
Last synced: 12 days ago
JSON representation
The goldfish that remembers. Go HTTP server that remembers things (arbitrary blocks of text) in chronological order.
- Host: GitHub
- URL: https://github.com/brett-richardson/goldfish
- Owner: brett-richardson
- Created: 2014-04-27T20:38:46.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-04-27T21:19:27.000Z (over 10 years ago)
- Last Synced: 2024-11-11T00:28:44.519Z (2 months ago)
- Language: Go
- Size: 137 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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
```2. 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.
```3. 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.
```