go-plugins

command module
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

README

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.

Documentation

Overview

A reimplementation of Kong's file-log plugin in Go.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL