func (n *NetworkTransport) AppendEntriesPipeline(id ServerID, target ServerAddress) (AppendPipeline, error) {
	// Get a connection
	conn, err := n.getConnFromAddressProvider(id, target)
	if err != nil {
		return nil, err
	}

	// Create the pipeline
	return newNetPipeline(n, conn), nil
}
func (n *NetworkTransport) AppendEntriesPipeline(id ServerID, target ServerAddress) (AppendPipeline, error) {
	
	conn, err := n.getConnFromAddressProvider(id, target)
	if err != nil {
		return nil, err
	}

	
	return newNetPipeline(n, conn), nil
}
func ( n * NetworkTransport ) AppendEntriesPipeline ( id ServerID , target ServerAddress ) ( AppendPipeline , error ) { // Get a connection conn , err := n . getConnFromAddressProvider ( id , target ) if err != nil { return nil , err } // Create the pipeline return newNetPipeline ( n , conn ) , nil }
// AppendEntriesPipeline returns an interface that can be used to pipeline
// AppendEntries requests.
AppendEntriesPipeline returns an interface that can be used to pipeline AppendEntries requests .