体验新版 GitCode,发现更多精彩内容 >>
package eureka import ( "github.com/eolinker/goku/goku-service/discovery" )
const DriverName = "eureka"
const EurekaStatusUp = "UP"
func init() {
discovery.RegisteredDiscovery(DriverName, discovery.NewDriver(Create))
} func Create(config string) discovery.Discovery { return NewEurekaDiscovery(config)
}