Example code of Kong plugins written in Go. These are not plugins intended for production use, but rather small examples to get you started writing your own:
- go-hello: a "hello world" plugin, which reads a request header and sets a response header.
- go-log: a reimplementation of Kong's
file-log
plugin in Go. shows the use of go I/O, goroutines and long-lived globals.