Skip to content

tomasky/osin-json-rest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osin-json-rest

Build Status

This package uses osin with go-json-rest and implements the storage interface for OSIN with MongoDB using mgo.

baby-gopher

Docker

The shell scripts under bin/ build a docker image and execute the tests. Make sure that you can run docker without sudo.

Caveats

All structs are serialized as is, i.e. no references are created or resolved.

Currently MongoDB >= 2.6 is required, on 2.4 the TestLoad* Tests fail, but I do not know why.

Related projects

This project's form middleware inspired by the following projects:

https://github.com/boonep/go-json-rest-middleware-formjson

Examples

See the examples subdirectory for integrating into OSIN.

TODO

  • Add the cache support
  • Add the https support

License

This package is made available under the MIT License

About

golang rest combine oauth2 by go-json-rest with osin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 92.0%
  • Shell 8.0%