mirror of
https://github.com/caddyserver/caddy.git
synced 2025-06-06 04:34:37 +08:00
Make RegisterPlugin() more consistent, having name as first argument
This commit is contained in:
@ -6,8 +6,7 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
caddy.RegisterPlugin(caddy.Plugin{
|
||||
Name: "proxy",
|
||||
caddy.RegisterPlugin("proxy", caddy.Plugin{
|
||||
ServerType: "http",
|
||||
Action: setup,
|
||||
})
|
||||
|
Reference in New Issue
Block a user