traefik/vendor/github.com/mesos/mesos-go/detector/zoo/plugin.go
2017-03-09 13:13:02 +01:00

11 lines
213 B
Go

package zoo
import (
"github.com/mesos/mesos-go/detector"
)
func init() {
detector.Register("zk://", detector.PluginFactory(func(spec string) (detector.Master, error) {
return NewMasterDetector(spec)
}))
}