traefik/vendor/github.com/mesos/mesos-go/detector/zoo/plugin.go

12 lines
213 B
Go
Raw Normal View History

2017-02-07 21:33:23 +00:00
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)
}))
}