You've already forked prometheus-fail2ban-exporter
							
							This commit is contained in:
		
							
								
								
									
										9
									
								
								auth/provider.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								auth/provider.go
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| package auth | ||||
|  | ||||
| import ( | ||||
| 	"net/http" | ||||
| ) | ||||
|  | ||||
| type AuthProvider interface { | ||||
| 	IsAllowed(*http.Request) bool | ||||
| } | ||||
		Reference in New Issue
	
	Block a user