Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/casbin/go-json-rest
A quick and easy way to setup a RESTful JSON API
https://github.com/casbin/go-json-rest
d61aa985da86b0765a048218c21b101be4b3af73 authored almost 10 years ago by antoine <[email protected]>
3c1e4cd9e6a08320149214253b0abc00b0583407 authored almost 10 years ago by antoine <[email protected]>
a71f61ef704a0a001eac205a9e2fa56e9d30d0c1 authored almost 10 years ago by antoine <[email protected]>
564f3f7ac563ee612c7fc4b44d74755c720d6ef0 authored almost 10 years ago by antoine <[email protected]>
484a65b65c4dc7ca43bf72c27bde50fb04f7eed4 authored almost 10 years ago by antoine <[email protected]>
d7e0359c0c4352f8349955c7952353894d83e87a authored almost 10 years ago by antoine <[email protected]>
3567c35c8700618894a93753974c336c888e56ea authored almost 10 years ago by antoine <[email protected]>
58f2f5f00f0b1642f7e8c71035647e3d3699f9f3 authored almost 10 years ago by antoine <[email protected]>
* Make the construction of the Api easier to read.
* allows Api with no App
* have things writte...
021106ced810bcbae764aa3cbf5bf900df787b65 authored almost 10 years ago by antoine <[email protected]>
3797cdf57c9cb708664eab8bd4f23cfad14dccbc authored almost 10 years ago by antoine <[email protected]>
007f99a6ca04f3c110de6ed1ad787c9d6f1ab5fe authored almost 10 years ago by antoine <[email protected]>
0283b1bc9a96aa8dbd9d3c340e76ec37eb555fc2 authored almost 10 years ago by antoine <[email protected]>
6a8ce399e5aa75ed48b91a5697a3e54b6a29489a authored almost 10 years ago by antoine <[email protected]>
ff4dfab8d2b8b64757a7cd3a2aaddb4927d7d70a authored almost 10 years ago by antoine <[email protected]>
2fdcddb4b6d49695a0846098b16f69c243283a55 authored almost 10 years ago by antoine <[email protected]>
79f20bba5be92b6b24a67d7995c2007a29c43f92 authored almost 10 years ago by antoine <[email protected]>
e1903abd7c8704fddeb7d7a8761e63aaa38cd115 authored almost 10 years ago by antoine <[email protected]>
c9782e3af57b61e8ccea2ec7be707d691c9d7e47 authored almost 10 years ago by antoine <[email protected]>
6e90b6b303a0311a49893da133cb0c2d3004fa79 authored almost 10 years ago by antoine <[email protected]>
ca6ad2fe5dbda5a33b3826df0b67dce225d61f98 authored almost 10 years ago by antoine <[email protected]>
2494a60026a66e8758680ad9121b52d4808f7a01 authored almost 10 years ago by antoine <[email protected]>
1853d6425814346b70bbea610ffaa639f678fcb2 authored almost 10 years ago by antoine <[email protected]>
7da49a11fa6de9ccd96d983027370705ee64f52e authored almost 10 years ago by antoine <[email protected]>
05b99a56e899be552e2fc4c77a27bc58a9d726be authored almost 10 years ago by antoine <[email protected]>
API with this new API so far.
804cb0487aeab994a20aa475fb0efa18c90c2759 authored almost 10 years ago by antoine <[email protected]>ad6ce3204ae9c44887242d3e5779f6214bce1887 authored almost 10 years ago by antoine <[email protected]>
3514a4d78d6be53d5057e6113241ab52eca0d36d authored almost 10 years ago by antoine <[email protected]>
a75dc7760cc472777868bcd2ddca0d5d8ef87035 authored almost 10 years ago by antoine <[email protected]>
bd9cbcc31a9c0cb3835411c13f80e243d7753188 authored almost 10 years ago by antoine <[email protected]>
8eb955c066e9d975e1fae3d71f6529da29816c53 authored almost 10 years ago by antoine <[email protected]>
78f31f62d885a73eb91dace1a9538e993328380f authored almost 10 years ago by antoine <[email protected]>
79e08a857223d931e6c504dee4bc8fcde3d2d52f authored almost 10 years ago by antoine <[email protected]>
4658af7363689f6672d68692034ab54dd44f3d30 authored almost 10 years ago by antoine <[email protected]>
73eb322b8cdd27ca6ad58285f8bc4659bb1afa8f authored almost 10 years ago by antoine <[email protected]>
34ead956c8cd684f382646c9ad31fdd6db027a2c authored almost 10 years ago by antoine <[email protected]>
afa4a96b3ec02971345e8ae484e181fbc61acf45 authored almost 10 years ago by antoine <[email protected]>
553d6ee2831f34bdee13c3f22f088452039cad4c authored almost 10 years ago by antoine <[email protected]>
2370f1d289df5816622177cec1dee7e9b095fcd0 authored almost 10 years ago by antoine <[email protected]>
6f0c6bf9e92cbda20697feb16422ed9bac574880 authored almost 10 years ago by antoine <[email protected]>
Convenient to write simple apps and middlewares, especially in unit tests.
eg:
rest.NewApi(res...
3933816b9e3a8752b05093610fa5da77df4209c1 authored almost 10 years ago by antoine <[email protected]>testing the REMOTE_USER env variable in addition.
d5093211a161ac9b1ad5915cdee28c9c09a93bef authored almost 10 years ago by antoine <[email protected]>69c9890fef039de551c2572e9c002be76287b7f3 authored almost 10 years ago by antoine <[email protected]>
4d06641a376255b41c815e9b4062497c314741f7 authored almost 10 years ago by antoine <[email protected]>
1cd8134153ab18b8bf5b55b4bd6de890c64e5fd0 authored almost 10 years ago by antoine <[email protected]>
0271530a86106a3297935e8e7fbf0ce18cbd999c authored almost 10 years ago by antoine <[email protected]>
8c228127a3500601d38f7a86a60794a0eacd86be authored almost 10 years ago by antoine <[email protected]>
a66124586f5f6553e158374a165c991ce220a605 authored almost 10 years ago by antoine <[email protected]>
1087feee8ee65fb5a91097efb474855177bee03e authored almost 10 years ago by antoine <[email protected]>
f8abb91ef0a70fd316572830d6ddffed38aa1235 authored almost 10 years ago by antoine <[email protected]>
5b566010de54e74aa375211bfbd42ffbfb4d33bf authored almost 10 years ago by antoine <[email protected]>
48f0c6178682941966ff0e85706d8e0831c14a04 authored almost 10 years ago by antoine <[email protected]>
17676db32ba1a6a635c1d6271bbe4c3ca8f60742 authored almost 10 years ago by antoine <[email protected]>
Spec here: https://github.com/ant0ine/go-json-rest/issues/110
This commit includes the new inte...
46e0dddf5857b3a076f09794e155260bb5037ef8 authored almost 10 years ago by antoine <[email protected]>preparation step for v3
4ccf516f9f602cf5dd45e70b8312cd6cd93027b2 authored almost 10 years ago by antoine <[email protected]>... by using the adapterFunc method
f7344409ecc286ea06f3b888bfb9461e5dc0bfb7 authored almost 10 years ago by antoine <[email protected]>822d81665be5856840344d51c170da48b9d55b76 authored almost 10 years ago by antoine <[email protected]>
b8b0cc9933df90a9865ec2ff6794926a26e866f0 authored almost 10 years ago by antoine <[email protected]>
Once the statusMiddleware is public, this method will be public too.
(preparation for v3)
New option on the AuthBasic Middleware to authorize the user.
aacf1a54b233f4dc4f5475bac510df9922a0964a authored almost 10 years ago by Antoine Imbert <[email protected]>
This authorization happens after authentication, and can be based on
the current request.
Note:...
b92871ab1ba2f49269b8d74c88b7a6cb7b7b7674 authored almost 10 years ago by antoine <[email protected]>Introduce a new middleware jsonIndentMiddleware (take2)
292306917e87e33542951f55214e07667f3d0849 authored almost 10 years ago by Antoine Imbert <[email protected]>
This is a way to replace the jsonAdapter option by a middleware option.
The jsonAdapter is now j...
Introduce the poweredByMiddleware
658768d1e476c73fd42fa1e3e2fadd19954b264d authored almost 10 years ago by Antoine Imbert <[email protected]>
It move the existing X-Powered-By feature from being an adapter option,
to being a dedicated mid...
2b6e8f63fce985c20719917229270dbbf8192b27 authored almost 10 years ago by antoine <[email protected]>
Thanks @yannk for the report!
7583c13dc3901ba01e7a47f5217767dca5a20663 authored almost 10 years ago by antoine <[email protected]>bcc9f66233f4ebc7dbc16ba093f1e4874323e7e7 authored about 10 years ago by antoine <[email protected]>
preparation step for the v3 where this middleware will be public.
9ad13be909f97340a9ebc2dd1e2e6f1994a8dd34 authored about 10 years ago by antoine <[email protected]>preparation for the v3 where these middlewares will become public.
6496748fb93fc0f77700dbb5a57d72bb24d588e2 authored about 10 years ago by antoine <[email protected]>Preparation step for v3, this middleware will become public.
9cec235b6ac0cc4c832082f875711e996c8bc0a8 authored about 10 years ago by antoine <[email protected]>ebb0cf0063f2532869f55e7aba4dc6a3799fbbaf authored about 10 years ago by antoine <[email protected]>
0401bb749df8f8195206fa8e8737a55edf6d0029 authored about 10 years ago by antoine <[email protected]>
d0781e007b59f4f9f4dc8d7acfdf01345a5b018d authored about 10 years ago by antoine <[email protected]>
Preparation Refactoring before v3 work.
4df45cc1553762cb672fa70206c0472fc6570145 authored about 10 years ago by Antoine Imbert <[email protected]>
This does not introduce any API change.
It refactors the internal of ResourceHandler. The the lo...
8cc310f7d4e12bf8677ff00a90986fe633d3ab24 authored about 10 years ago by antoine <[email protected]>
82829a973e48210142c8f29206c757c6b216e9dd authored about 10 years ago by antoine <[email protected]>
23cedb3d72b9ff8af0c40837035047266cc9ce74 authored about 10 years ago by antoine <[email protected]>
b944ac79291285c1af852fbb9137ad159c371d1e authored about 10 years ago by antoine <[email protected]>
e3064d02a40818560cff3c99ac55c2a3fd5654b0 authored about 10 years ago by antoine <[email protected]>
2682c60ba972b9ec0b36dbafa17a76c8bfa7f9ab authored about 10 years ago by antoine <[email protected]>
Fixed "using unaddressable value"
3b30c0bf4b57962a972544da73b51dec8228ac30 authored about 10 years ago by Antoine Imbert <[email protected]>8a9baf383e93314836f69eb616547ce318db4c09 authored about 10 years ago by Andrés P <[email protected]>
1b22f46b25269df25c6063d509df6a5f52eedcfa authored about 10 years ago by antoine <[email protected]>
Fix link to stretchr/graceful
ec5a69b009372be1053b76f34d9684314ba13b3e authored about 10 years ago by Antoine Imbert <[email protected]>46069d04dd4d50fc9089e5f9bb0d387399fdbd5f authored about 10 years ago by antoine <[email protected]>
e3175d14fb53adf180f06c05529c146eb47b783f authored about 10 years ago by Herman Schaaf <[email protected]>
30c86ea2c1f60e297acc6404d84e43407b95eda7 authored about 10 years ago by antoine <[email protected]>
535011e953e10bf66271a1fc802c9d0787ed8bdf authored about 10 years ago by antoine <[email protected]>
8ed515ee12fe0f256c209668cdccd3e3f681beaf authored about 10 years ago by antoine <[email protected]>
... made on a Virtual Machine they were not accurate anyway.
2b7b0c739af66f8daf8c12c2c9b03f1be2c09570 authored about 10 years ago by antoine <[email protected]>89c38b01334f5b09bc7417fe161cf482fdf308bb authored about 10 years ago by antoine <[email protected]>
414249b114697b817d5d6501159aced8c7f0394e authored about 10 years ago by antoine <[email protected]>
6f11ba5626d4e127db7a43c8d91d5cb7cec2419f authored about 10 years ago by antoine <[email protected]>
Apache logging
a2cdae79aba37257b82cb71eab506a9d80463ec7 authored about 10 years ago by Antoine Imbert <[email protected]>63e45041de0a76f7883663e5e30db797607ff8bb authored about 10 years ago by antoine <[email protected]>
5721cf1e7a040478d6f0dadbdae8e06fac0a197f authored about 10 years ago by antoine <[email protected]>
Not sure how this middleware will be used in the future.
Better check that the Env variable are ...
450ad54c6b75846eeef828f8df03f0f437c1d77c authored about 10 years ago by antoine <[email protected]>