Miek Gieben
004c5fca9d
all: simply registering plugins ( #3287 )
...
Abstract the caddy call and make it simpler.
See #3261 for some part of the discussion.
Go from:
~~~ go
func init() {
caddy.RegisterPlugin("any", caddy.Plugin{
ServerType: "dns",
Action: setup,
})
}
~~~
To:
~~~ go
func init() { plugin.Register("any", setup) }
~~~
This requires some external documents in coredns.io to be updated as
well; the old way still works, so it's backwards compatible.
Signed-off-by: Miek Gieben <miek@miek.nl >
2019-09-20 08:02:30 +01:00
..
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-07-03 09:04:47 +08:00
2019-09-20 08:02:30 +01:00
2019-09-19 06:17:53 -07:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-19 06:17:53 -07:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-08 08:25:17 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-08-28 09:41:11 -04:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-07-03 09:04:47 +08:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-08-25 12:59:44 +00:00
2019-07-03 09:04:47 +08:00
2019-09-20 08:02:30 +01:00
2019-09-20 08:02:30 +01:00
2019-09-05 09:07:55 -04:00
2019-03-26 14:37:30 +00:00
2019-08-24 18:14:25 +00:00
2018-07-19 16:23:06 +01:00
2019-01-19 11:23:13 +00:00
2019-08-21 16:08:55 -04:00
2019-08-21 16:08:55 -04:00
2019-09-20 08:02:30 +01:00