| 
									
										
										
										
											2015-06-08 10:23:54 +02:00
										 |  |  | package api | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-06-09 10:59:44 +02:00
										 |  |  | import ( | 
					
						
							|  |  |  | 	"github.com/ethereum/go-ethereum/rpc/shared" | 
					
						
							|  |  |  | ) | 
					
						
							| 
									
										
										
										
											2015-06-08 10:23:54 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-06-08 12:43:58 +02:00
										 |  |  | // Merge multiple API's to a single API instance | 
					
						
							| 
									
										
										
										
											2015-06-22 12:47:32 +02:00
										 |  |  | func Merge(apis ...shared.EthereumApi) shared.EthereumApi { | 
					
						
							| 
									
										
										
										
											2015-06-08 12:43:58 +02:00
										 |  |  | 	return newMergedApi(apis...) | 
					
						
							|  |  |  | } |