code: func (c *MockConfig) ChannelPeers(name string) []fab.ChannelPeer {
  
  	if name == "noChannelPeers" {
  		return nil
  	}
  
  	peerChCfg := fab.PeerChannelConfig{EndorsingPeer: true, ChaincodeQuery: true, LedgerQuery: true, EventSource: true}
  	if name == "noEndpoints" {
  		peerChCfg = fab.PeerChannelConfig{EndorsingPeer: false, ChaincodeQuery: false, LedgerQuery: false, EventSource: false}
  	}
  
  	mockPeer := fab.ChannelPeer{PeerChannelConfig: peerChCfg, NetworkPeer: fab.NetworkPeer{PeerConfig: fab.PeerConfig{URL: "example.com"}}}
  	return []fab.ChannelPeer{mockPeer}
  }
docs: // ChannelPeers returns the channel peers configuration