Comments (3)
pinging @gszr and @StarlightIbuki for effort estimation and initial assessment
from go-pdk.
Hi @0angelic0,
Thanks for opening this issue and welcome to the Kong community.
The header_filter
and body_filter
phases do not support the socket API Kong uses to communicate with the pluginserver; this is a known limitation, by design.
The goal of the Go PDK is not to replace the Lua PDK entirely, but to allow you to tap into the Go ecosystem when there isn't a Lua equivalent library available; therefore, we recommend you to write your plugin in Lua if it's paramount to use the header and body filters.
We have a planned task to improve our docs and make this (and other) limitations clearer.
As always, happy to answer questions. For now, I will leave this issue open.
Happy Konging! 🦍
from go-pdk.
Answered, closing.
from go-pdk.
Related Issues (20)
- socket failed: No such file or directory HOT 9
- kong.client.authenticate should support nil values for consumer and credential HOT 1
- Test package Race detected Warning when DoHttps HOT 1
- Add init handler and invoke it after config get deserialized HOT 6
- TestEnv.ClientRes.Status is not behaving as expected when ExitStatus is called. HOT 4
- kong.ServiceResponse.GetRawBody() is not working when trying to retrieve response body HOT 4
- Question: Consumer Group Plugin HOT 2
- How can I share a Golang object between different phases quickly? HOT 2
- Missing kong.client.tls package HOT 1
- kong.Response.Exit() Hanging HOT 1
- How to set a variable to Kong Context while doing unit tests? HOT 9
- Build example plugins in CI
- Question: How to reload plugin configuration? HOT 2
- How can i use custom golang plugin on kong ingress controller?
- Apparently the data set into shared context is not being freed HOT 2
- Reference code for unit testing custom plugins HOT 1
- How to get Consumers List
- Feature request: Add SetHeader in Request
- Body always empty string
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-pdk.