func Register(e *e3x.Endpoint, key string) { e.Use(moduleKey(key), newDHT(e)) }
func Register(e *e3x.Endpoint, key string, conf *chord.Config) { e.Use(moduleKey(key), &ring{e, conf, nil}) }