24 lines
		
	
	
		
			368 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			24 lines
		
	
	
		
			368 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
								 | 
							
								Gearman API for golang
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								This module is Gearman API for golang. 
							 | 
						||
| 
								 | 
							
								It was implemented a native protocol for both worker and client API.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								- INSTALL
							 | 
						||
| 
								 | 
							
								  $ cd ./src/pkg/gearman/
							 | 
						||
| 
								 | 
							
								  $ make install
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								- SAMPLE OF USAGE
							 | 
						||
| 
								 | 
							
								  # example/worker.go
							 | 
						||
| 
								 | 
							
								  $ make worker
							 | 
						||
| 
								 | 
							
								  $ ./worker
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  # example/client.go
							 | 
						||
| 
								 | 
							
								  $ make client
							 | 
						||
| 
								 | 
							
								  $ ./client
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								----
							 | 
						||
| 
								 | 
							
								xingxing<mikespook@gmail.com>
							 | 
						||
| 
								 | 
							
								http://mikespook.com
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 |