https://github.com/timakin/airshooter
High-performance Notification and Messaging API for asynchronous job.
https://github.com/timakin/airshooter
Last synced: 3 months ago
JSON representation
High-performance Notification and Messaging API for asynchronous job.
- Host: GitHub
- URL: https://github.com/timakin/airshooter
- Owner: timakin
- Created: 2016-05-04T15:25:23.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-14T04:46:23.000Z (almost 10 years ago)
- Last Synced: 2025-04-11T01:41:20.549Z (about 1 year ago)
- Language: Go
- Size: 938 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
AirShooter
====
High-performance Notification and Messaging API
## Preparation
```
# install depended packages
$ godep go install
# run with specified packages
$ godep go run server.go
```
## API
### Notification
```
POST /api/notifications/enqueue
PUT /api/notifications/publish
GET /api/notifications/subscriptions
PUT /api/notifications/subscribe
cron PUT /api/notifications/expire
```
### Messaging
```
POST /api/messages (pass the combo of `from` and `to`)
GET /api/messages (pass the combo of `from` and `to`)
GET /api/messages/:id
```
### Toolkit
| Framework | Echo |
| --- | --- |
| DB | MySQL |
| Validation | JSV |
| Auth | JWTAuth |