coredns_mysql
coredns_mysql copied to clipboard
Have you considered a common backend.go method?
It feels like it could be similar to etcd, which implements the ServiceBackend interface.Is there a problem?
Can you elaborate please?
There is a backend.go file in the plugin directory that defines the ServiceBackend interface, so why don't we implement the methods in this interface? I don't know if I've made myself clear, what I'm asking is why you don't abstract into this interface form
I see. This plugin is a modified version of the Redis one which doesn't use the interface. Perhaps the interface is a newer abstraction that was introduced after the Redis plugin.