예제 #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})
}