Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Kong/go-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ This repository is no longer maintained. Examples are now in the go-pdk repo

Kong Go Plugins

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-hello-lm: same as the previous as a loadble module to use with the go-pluginserver.
  • go-log: a reimplementation of Kong's file-log plugin in Go. shows the use of go I/O, goroutines and long-lived globals.
  • go-log-lm: same as go-log but built as a loadable module to use with the go-pluginserver.