ing
This commit is contained in:
		
							parent
							
								
									dbf40af329
								
							
						
					
					
						commit
						539acfdfd9
					
				@ -1,12 +1,12 @@
 | 
			
		||||
package crawler
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	ocsm "git.loafle.net/overflow/commons-go/sensorconfig/model"
 | 
			
		||||
	ocms "git.loafle.net/overflow/commons-go/model/sensorconfig"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type Crawler interface {
 | 
			
		||||
	Name() string
 | 
			
		||||
	String() string
 | 
			
		||||
	Auth(auth map[string]interface{}) error
 | 
			
		||||
	Get(sensorConfig *ocsm.SensorConfig) (map[string]string, error)
 | 
			
		||||
	Get(sensorConfig *ocms.SensorConfig) (map[string]string, error)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user