code: func (nDB *NetworkDB) WalkTable(tname string, fn func(string, string, []byte, bool) bool) error {
  	nDB.RLock()
  	values := make(map[string]interface{})
  	nDB.indexes[byTable].WalkPrefix(fmt.Sprintf("/%s", tname), func(path string, v interface{}) bool {
  		values[path] = v
  		return false
  	})
  	nDB.RUnlock()
  
  	for k, v := range values {
  		params := strings.Split(k[1:], "/")
  		nid := params[1]
  		key := params[2]
  		if fn(nid, key, v.(*entry).value, v.(*entry).deleting) {
  			return nil
  		}
  	}
  
  	return nil
  }
docs: // WalkTable walks a single table in NetworkDB and invokes the passed
  // function for each entry in the table passing the network, key,
  // value. The walk stops if the passed function returns a true.