lays147 / kongo-go-boilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kong Go Plugin Template

This template can help you to build a Kong Gateway plugin based in the Golang language.

It gives you all the boilerplate for development and production workflows.

How to develop

Fork it! 🚀

# To build the plugins and docker images
make build-kong
# To start the gateway im dbless mode
make start-kong

Project Structure

File/Folder Purpose
config/kong.conf Plugin configuration file
config/kong.yaml Declarative config of Kong
kong-plugin-template source template for the go plugin
scripts/go_build.sh Shell script responsible for building go plugins
scripts/go_plugins.conf Conf file with the names of folders of go plugins
docker-compose.yaml Docker-compose config of kong in dbless mode
Dockerfile Dockerfile with multi-stage build of go plugins and the kong image

About

License:MIT License


Languages

Language:Dockerfile 35.3%Language:Shell 32.5%Language:Go 25.3%Language:Makefile 7.0%