Using Kong cache in Go plugins

Is it possible to use Kong cache: https://docs.konghq.com/1.1.x/plugin-development/entities-cache/ in Golang plugins? I don’t see any reference of cache in the pdk library…

2 Likes

It seems that the go-pdk is only serializing Lua calls over the wire. Adding the kong.cache methods is probably a matter of doing the same as for kong.log, https://github.com/Kong/go-pdk/blob/master/log/log.go