如果您想列出您的外部外掛程式,請建立一個 Pull Request。
在該 Pull Request 中,您需要新增一個檔案到 content/explugins/
,其內容如下:
+++
title = "<plugin name>"
description = "*<plugin name>* is a ..."
weight = 10
tags = [ "plugin" , "<plugin name>" ]
categories = [ "plugin", "external" ]
date = "2017-07-22T12:37:19+01:00"
repo = "https://link-to-your-plugin-repo"
home = "https://link-to-your-homepage-or-readme"
+++
## Description
The *<plugin name>* plugin is a ...
## Syntax
## Example
請參閱example.md 範例,了解如何執行此操作。
請注意,description 需要是一個完整的句子,且 repo 必須是一個可使用 Go 取得的連結,並可放入 plugins.cfg
中。
Go 模組
請注意,我們發現 Go 模組可能會與外部外掛程式編譯到 CoreDNS 的方式產生不良互動。許多外部外掛程式已經移除了 go.mod
和 go.sum
檔案,以解決相關問題,例如 unbound。