code: func (a *Aliases) List() (map[string]MacIface, error) {
  	a.mtx.Lock()
  	defer a.mtx.Unlock()
  
  	aliasMap := make(map[string]MacIface, 1)
  	err := a.db.View(func(tx *bolt.Tx) error {
  		bucket := tx.Bucket([]byte(bucketName))
  		cursor := bucket.Cursor()
  		for k, v := cursor.First(); k != nil; k, v = cursor.Next() {
  			if entry, err := DecodeToMacIface(bytes.NewBuffer(v)); err == nil {
  				aliasMap[string(k)] = entry
  			} else {
  				return err
  			}
  		}
  		return nil
  	})
  	return aliasMap, err
  }
docs: // List returns a map containing all alias MacIface pairs.