We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
anyone have example writing middleware before access the api ? Pls , middleware of author I cant custom. :(
The text was updated successfully, but these errors were encountered:
The middleware interface is here https://github.com/ant0ine/go-json-rest/blob/master/rest/middleware.go
If you have middleware struct you should implement method 'MiddlewareFunc', but if you have function you can use type 'MiddlewareSimple' to create it
Sorry, something went wrong.
Now im using echo framework to create API and it already has middleware built in, but thanks you for help :D
No branches or pull requests
anyone have example writing middleware before access the api ? Pls , middleware of author I cant custom. :(
The text was updated successfully, but these errors were encountered: