// Get a list of friends public keys.
Get a list of friends public keys.
// Get a list of friends public keys .
func (f2f *friendToFriend) List() []crypto.PubKey {
	f2f.mutex.Lock()
	defer f2f.mutex.Unlock()
	var list []crypto.PubKey
	for _, pub := range f2f.friends {
		list = append(list, pub)
	}
	return list
}
func ( f2f * friendToFriend ) List ( ) [ ] crypto . PubKey { f2f . mutex . Lock ( ) defer f2f . mutex . Unlock ( ) var list [ ] crypto . PubKey for _ , pub := range f2f . friends { list = append ( list , pub ) } return list }
Get a list of friends public keys.
Get a list of friends public keys .