示例#1
0
func Register(e *e3x.Endpoint, key string) {
	e.Use(moduleKey(key), newDHT(e))
}
示例#2
0
func Register(e *e3x.Endpoint, key string, conf *chord.Config) {
	e.Use(moduleKey(key), &ring{e, conf, nil})
}