go-pdk
go-pdk copied to clipboard
Write Kong plugins in Go! 🦍
Bumps google.golang.org/protobuf from 1.33.0 to 1.34.0. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4 to 5. Release notes Sourced from golangci/golangci-lint-action's releases. v5.0.0 What's Changed Changes feat: add support for pull_request_target and only-new-issues by @kovetskiy in golangci/golangci-lint-action#506 feat: add option...
Hi, I cannot find the TLS dedicated package (in lua is the package kong.client.tls). How can I find the methods to handle the mTLS connection? Best regards, Lorenzo
Currently the plugin does not expose the [kong.log.set_serialize_value](https://docs.konghq.com/gateway/latest/pdk/kong.log/#konglogset_serialize_valuekey-value-options) function of the PDK, even though (as far as I can tell) it is the only way for a plugin to enrich...
### feat(api): adds support for custom schema - Adds support for custom schema i.e.: ```go type ( Config struct { Path string `schema:"{'required': true, 'starts_with': '/'}"` } ) ``` ###...
kong 2.8.0 go-pdk v0.7.1 For the moment only it is possible to get `kong.Router.GetService()` information from Access phase and not from the Log phase. Is a possible bug of kong,...
Currently new plugin instances are be created upon config changes and old plugin instances are removed from `instances` slice so they are _inaccessible_ and left to be garbage collected eventually....
As a plugin developer, I would like the performance data around operation time, errors, and any other attributes to be consumable by users of my plugin. Ideally, I could emit...
When creating Lua plugins you can specify `default` and `one_of` values as such: ``` { my_param = {type = "string", one_of = { "One", "Two", "Three" }, default = "One"}...
Sometimes, it is necesary to do some kine of initialization based on config of the plugin. Maybe invoke `instanceConfig.Init()` [here](https://github.com/Kong/go-pdk/blob/master/server/instance.go#L98)?