top
(README.md)
# subscription
A fresh new service for asvins

## Usage

`go install`
`subscripton`

## Endpoints

`GET /subscription/show?email="john.doe@example.com" // scopes: subscription OR 'user AND owner'`
`GET /subscription/list?page=1 // 10 subscriptions per page, scopes: subscriptions`
`POST /subscription/new // scopes: user OR subscription`
`POST /subscription/pay // scopes: user`
`POST /subscriptions/delayed //scopes: subscription`

Imports 14 package(s)

  1. github.com/asvins/router/errors
  2. github.com/lib/pq
  3. github.com/asvins/core/models
  4. github.com/asvins/common_db/postgres
  5. github.com/jinzhu/gorm
  6. github.com/asvins/common_io
  7. github.com/asvins/auth/models
  8. github.com/asvins/router
  9. github.com/asvins/utils/config
  10. gopkg.in/gcfg.v1
  11. github.com/asvins/notification/mailer
  12. github.com/unrolled/render
  13. github.com/asvins/warehouse/decoder
  14. github.com/asvins/router/logger

Test imports 1 package(s)

  1. github.com/smartystreets/goconvey/convey